Fix year str
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Michel Roux 2022-11-14 18:11:22 +01:00
parent fc8cbd9540
commit 8675175f26
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def search_ygg(query, multi):
if any(word.lower() in name for word in BLACKLIST_WORDS):
continue
if args.year and args.year not in name:
if args.year and str(args.year) not in name:
continue
if args.uploader and not any(