More async

This commit is contained in:
2023-07-19 14:29:56 +02:00
committed by migatu
parent b9fbc0f910
commit 5d5c136b41
+1 -1
View File
@@ -827,7 +827,7 @@ async def wyszukaj(ctx, how_many=0, slowa_kluczowe=None):
token_weight = len(word)
logger.info("Słowo kluczowe: %s", word)
itr = 0
for file in music_file_list:
async for file in async_iterator_generator(music_file_list):
file = file.split(SEPARATOR_FILE_PATH)
char_remove = [