fix cmd recommend to use f string

This commit is contained in:
Kevin Froman 2020-01-29 23:21:13 -06:00
parent d4c1dc2bf2
commit 8649231860
3 changed files with 2 additions and 3 deletions

View file

@ -31,7 +31,7 @@ def recommend(print_default: bool = True):
for word in key:
if SequenceMatcher(None, tried, word).ratio() >= 0.75:
logger.warn(f'{print_message} "{tried}", '
+ 'did you mean "{word}"?',
+ f'did you mean "{word}"?',
terminal=True)
return
if print_default: