fix: undefined TV episode log

This commit is contained in:
Ben Goldsworthy 2024-03-15 22:20:17 +01:00
parent 528e1733ee
commit f3368d7d92
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE

View file

@ -618,6 +618,7 @@ def main() -> None:
item_id = "".join(re.findall(r"\d+", input("Enter ISBN: "))) item_id = "".join(re.findall(r"\d+", input("Enter ISBN: ")))
elif "tv-episodes" == media_type: elif "tv-episodes" == media_type:
log = "log"
while re.search("(tt)?[0-9]+", item_id) is None: while re.search("(tt)?[0-9]+", item_id) is None:
item_id = input("Enter TVDB or IMDB ID: ") item_id = input("Enter TVDB or IMDB ID: ")