mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[54] fix episode cache again
This commit is contained in:
parent
7f845a822c
commit
5d9d33911a
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.20.0-develop53
|
||||
1.20.0-develop54
|
||||
|
|
|
@ -772,7 +772,7 @@ class Cache:
|
|||
"vote_count = ?, vote_average = ?, imdb_id = ?, tvdb_id = ?, " \
|
||||
"expiration_date = ? WHERE tmdb_id = ? AND season_number = ? AND episode_number = ?"
|
||||
cursor.execute(update_sql, (
|
||||
obj.title, obj.air_date.strftime("%Y-%m-%d"), obj.overview, obj.still_url,
|
||||
obj.title, obj.air_date.strftime("%Y-%m-%d") if obj.air_date else None, obj.overview, obj.still_url,
|
||||
obj.vote_count, obj.vote_average, obj.imdb_id, obj.tvdb_id,
|
||||
expiration_date.strftime("%Y-%m-%d"), obj.tmdb_id, obj.season_number, obj.episode_number
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue