Fix year str
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-11-14 18:11:22 +01:00
parent fc8cbd9540
commit 8675175f26

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(