diff --git a/bot.py b/bot.py index 106a224..e62613d 100644 --- a/bot.py +++ b/bot.py @@ -1103,7 +1103,8 @@ async def get_file(ctx, source, link): logger.info( "Failed to download %s, make sure yt_dlp is up to date", link ) - return dir_path, file_list.append("wiadomo co wiadomo gdzie") + file_list.append("wiadomo co wiadomo gdzie") + return dir_path, file_list # define an asynchronous generator async def async_iterator_generator(range_of_iterable):