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