Switch this formatter to fstring.

This commit is contained in:
voussoir 2020-01-25 00:48:57 -08:00
parent 91bf90862b
commit 1727be598a

View file

@ -164,7 +164,7 @@ def search(
search_text = search_object
result_text = search_object
if line_numbers:
result_text = '%4d | %s' % (index+1, result_text)
result_text = f'{index+1:>4} | {result_text}'
if not all_terms_match(search_text, terms, term_matches):
continue