From 7f845a822cce0160eb1ed1e88754224be58785f4 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 2 Apr 2024 11:00:12 -0400 Subject: [PATCH] [53] fix episode cache --- VERSION | 2 +- modules/cache.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index cc5581d1..04f34525 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.20.0-develop52 +1.20.0-develop53 diff --git a/modules/cache.py b/modules/cache.py index c95a76ff..7a0cf9fa 100644 --- a/modules/cache.py +++ b/modules/cache.py @@ -765,7 +765,7 @@ class Cache: connection.row_factory = sqlite3.Row with closing(connection.cursor()) as cursor: cursor.execute( - "INSERT OR IGNORE INTO tmdb_episode_data(tmdb_id, season_number, episode_number) VALUES(?)", + "INSERT OR IGNORE INTO tmdb_episode_data(tmdb_id, season_number, episode_number) VALUES(?, ?, ?)", (obj.tmdb_id, obj.season_number, obj.episode_number) ) update_sql = "UPDATE tmdb_episode_data SET title = ?, air_date = ?, overview = ?, still_url = ?, " \