fix cmd recommend to use f string
parent
d4c1dc2bf2
commit
8649231860
|
@ -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:
|
||||
|
|
|
@ -1 +1 @@
|
|||
1580360691
|
||||
1580361700
|
|
@ -22,5 +22,4 @@ class TestRuntimeFile(unittest.TestCase):
|
|||
self.assertLess(math.floor(time.time()) - int(result_file.read()), 1800)
|
||||
|
||||
|
||||
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in New Issue