This commit is contained in:
2024-04-05 16:46:12 +02:00
parent a545e5f84d
commit 6790d33119
+1 -2
View File
@@ -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