mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
-1
This commit is contained in:
@@ -828,7 +828,7 @@ async def wyszukaj(ctx, how_many=0, slowa_kluczowe=None):
|
||||
logger.info("Słowo kluczowe: %s", word)
|
||||
itr = 0
|
||||
async for file in async_iterator_generator(music_file_list):
|
||||
file = await file.split(SEPARATOR_FILE_PATH)
|
||||
file = file.split(SEPARATOR_FILE_PATH)
|
||||
|
||||
char_remove = [
|
||||
".",
|
||||
@@ -855,7 +855,7 @@ async def wyszukaj(ctx, how_many=0, slowa_kluczowe=None):
|
||||
all_words = []
|
||||
async for f_iter in async_iterator_generator(file):
|
||||
async for char in async_iterator_generator(char_remove):
|
||||
f_iter = await f_iter.replace(char, "")
|
||||
f_iter = f_iter.replace(char, "")
|
||||
tmp = f_iter.split()
|
||||
all_words.extend(tmp)
|
||||
pingu = 1
|
||||
|
||||
Reference in New Issue
Block a user