Async fix

This commit is contained in:
2023-07-20 15:23:57 +02:00
committed by migatu
parent 35a65e48e9
commit 74c76e639d
+1 -1
View File
@@ -854,7 +854,7 @@ async def wyszukaj(ctx, how_many=0, slowa_kluczowe=None):
]
all_words = []
async for f_iter in async_iterator_generator(file):
for char in char_remove:
async for char in async_iterator_generator(char_remove):
f_iter = f_iter.replace(char, "")
tmp = f_iter.split()
all_words.extend(tmp)