1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-07-06 10:58:47 +00:00

Fix indentation ruined by renamings

This commit is contained in:
Kristóf Tóth 2018-04-07 22:41:18 +02:00
parent 07e57681c5
commit 8519479ebd

View File

@ -18,8 +18,8 @@ def selectdir(history):
cmd = history[-1].split()
if cmd[0] == 'selectdir':
TFWServerConnector().send_to_eventhandler('webide',
{'data': {'command': 'selectdir',
'directory': cmd[1]}})
{'data': {'command': 'selectdir',
'directory': cmd[1]}})
except IndexError:
LOG.exception('Selectdir failed!')
@ -30,8 +30,8 @@ def toggle_next(history):
cmd = history[-1].split()
if cmd[0] == 'togglenext':
TFWServerConnector().send('messagecontrol',
{'data': {'command': 'showbutton',
'next_visibility': toggle_next.button_state}})
{'data': {'command': 'showbutton',
'next_visibility': toggle_next.button_state}})
except IndexError:
LOG.exception('Togglenext failed!')
toggle_next.button_state = False