fstring: improved formatting
This commit is contained in:
parent
555d39bde6
commit
5b66f1acbb
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class DebugStylePredicate(object):
|
|||
self.val = val
|
||||
|
||||
def text(self):
|
||||
return 'debug style route = %s' % self.val
|
||||
return f'debug style route = {self.val}'
|
||||
|
||||
phash = text
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue