From 8675175f26f0ad4110cf3ee5b719b9ca17d3517e Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 14 Nov 2022 18:11:22 +0100 Subject: [PATCH] Fix year str --- commands/pygg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/pygg.py b/commands/pygg.py index be753f0..893e797 100644 --- a/commands/pygg.py +++ b/commands/pygg.py @@ -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(