mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
fix unpack error
This commit is contained in:
parent
3b88d77492
commit
94933b79fc
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Cache:
|
|||
id_to_return = row[to_id] if to_id == "imdb_id" else int(row[to_id])
|
||||
expired = time_between_insertion.days > self.expiration
|
||||
out_type = row["media_type"] if return_type else None
|
||||
if out_type:
|
||||
if return_type:
|
||||
return id_to_return, out_type, expired
|
||||
else:
|
||||
return id_to_return, expired
|
||||
|
|
Loading…
Reference in a new issue