1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-07-14 07:56:23 +00:00

Use new f-strings where possible

This commit is contained in:
Kristóf Tóth
2018-04-19 09:19:32 +02:00
parent f79235fe22
commit 1040882254
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ LOG = logging.getLogger(__name__)
def cenator(history):
LOG.debug('User executed command: "%s"', history[-1])
MessageSender().send('JOHN CENA', 'You\'ve executed "{}"'.format(history[-1]))
MessageSender().send('JOHN CENA', f'You\'ve executed "{history[-1]}"')
class TestCommands(TerminalCommands):