Added some photo sites, improved errors detecting

This commit is contained in:
Soxoj
2021-05-08 20:37:34 +03:00
parent d4234036c0
commit b696b982f4
6 changed files with 242 additions and 30 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ def notify_about_errors(search_results: QueryResultWrapper, query_notify):
text = f'Too many errors of type "{e["err"]}" ({e["perc"]}%)'
solution = errors.solution_of(e['err'])
if solution:
text = '. '.join([text, solution])
text = '. '.join([text, solution.capitalize()])
query_notify.warning(text, '!')
was_errs_displayed = True