Update utils.py

This commit is contained in:
Abdist
2025-01-18 21:25:32 +01:00
committed by GitHub
parent b5aeed9268
commit 036f448906

View File

@@ -163,12 +163,12 @@ def write_search_results(
((ll++))
done
echo
echo "{get_true_fg('Description:',*HEADER_COLOR).replace('"',SINGLE_QUOTE)}"
# echo "{get_true_fg('Description:',*HEADER_COLOR).replace('"',SINGLE_QUOTE)}"
"""
template = textwrap.dedent(template)
template = f"""
{template}
echo "{textwrap.fill(clean_html(anime.get('description', '')).replace('"', SINGLE_QUOTE), width=45)}"
echo "{textwrap.fill(clean_html((anime['description']) or "").replace('"',SINGLE_QUOTE), width=45)}"
"""
future_to_task[executor.submit(save_info_from_str, template, title)] = title