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
1 changed files with 1 additions and 0 deletions

View File

@ -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: ")