[53] fix episode cache

This commit is contained in:
meisnate12 2024-04-02 11:00:12 -04:00
parent 7798cc2af0
commit 7f845a822c
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.20.0-develop52
1.20.0-develop53

View file

@ -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 = ?, " \