From 94933b79fc135433b26fd2381ffb33cff7f28247 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sun, 8 Aug 2021 18:36:45 -0400 Subject: [PATCH] fix unpack error --- modules/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cache.py b/modules/cache.py index 398bfbd5..1f93a3b0 100644 --- a/modules/cache.py +++ b/modules/cache.py @@ -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