From f3368d7d92c0e0d2e34180f366853ffaaa7b98aa Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Fri, 15 Mar 2024 22:20:17 +0100 Subject: [PATCH] fix: undefined TV episode log --- scripts/add_item.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/add_item.py b/scripts/add_item.py index 36966b0..2b2ba09 100644 --- a/scripts/add_item.py +++ b/scripts/add_item.py @@ -618,6 +618,7 @@ def main() -> None: item_id = "".join(re.findall(r"\d+", input("Enter ISBN: "))) elif "tv-episodes" == media_type: + log = "log" while re.search("(tt)?[0-9]+", item_id) is None: item_id = input("Enter TVDB or IMDB ID: ")