mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-17 15:22:10 +00:00
Final fix
This commit is contained in:
@@ -1103,11 +1103,10 @@ async def get_file(ctx, source, link):
|
|||||||
logger.info(
|
logger.info(
|
||||||
"Failed to download %s, make sure yt_dlp is up to date", link
|
"Failed to download %s, make sure yt_dlp is up to date", link
|
||||||
)
|
)
|
||||||
for item in Path.glob(Path(dir_path), "**/*.mp3"):
|
file = item.as_posix()
|
||||||
file = item.as_posix()
|
if platform == "win32":
|
||||||
if platform == "win32":
|
file = file.replace("/", "\\")
|
||||||
file = file.replace("/", "\\")
|
file_list.append(file)
|
||||||
file_list.append(file)
|
|
||||||
return dir_path, file_list
|
return dir_path, file_list
|
||||||
|
|
||||||
# define an asynchronous generator
|
# define an asynchronous generator
|
||||||
|
|||||||
Reference in New Issue
Block a user