From 6790d3311907aada712a0064d31c0a504e4e8187 Mon Sep 17 00:00:00 2001 From: Migatu Date: Fri, 5 Apr 2024 16:46:12 +0200 Subject: [PATCH] FX2 --- bot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 7aaad45..70107db 100644 --- a/bot.py +++ b/bot.py @@ -1107,8 +1107,7 @@ async def get_file(ctx, source, link): file = item.as_posix() if platform == "win32": file = file.replace("/", "\\") - if re.match(".*" + ident + ".*", file): - file_list.append(file) + file_list.append(file) return dir_path, file_list # define an asynchronous generator