mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2025-01-15 21:51:57 +00:00
Fix indentation ruined by renamings
This commit is contained in:
parent
07e57681c5
commit
8519479ebd
@ -18,8 +18,8 @@ def selectdir(history):
|
|||||||
cmd = history[-1].split()
|
cmd = history[-1].split()
|
||||||
if cmd[0] == 'selectdir':
|
if cmd[0] == 'selectdir':
|
||||||
TFWServerConnector().send_to_eventhandler('webide',
|
TFWServerConnector().send_to_eventhandler('webide',
|
||||||
{'data': {'command': 'selectdir',
|
{'data': {'command': 'selectdir',
|
||||||
'directory': cmd[1]}})
|
'directory': cmd[1]}})
|
||||||
except IndexError:
|
except IndexError:
|
||||||
LOG.exception('Selectdir failed!')
|
LOG.exception('Selectdir failed!')
|
||||||
|
|
||||||
@ -30,8 +30,8 @@ def toggle_next(history):
|
|||||||
cmd = history[-1].split()
|
cmd = history[-1].split()
|
||||||
if cmd[0] == 'togglenext':
|
if cmd[0] == 'togglenext':
|
||||||
TFWServerConnector().send('messagecontrol',
|
TFWServerConnector().send('messagecontrol',
|
||||||
{'data': {'command': 'showbutton',
|
{'data': {'command': 'showbutton',
|
||||||
'next_visibility': toggle_next.button_state}})
|
'next_visibility': toggle_next.button_state}})
|
||||||
except IndexError:
|
except IndexError:
|
||||||
LOG.exception('Togglenext failed!')
|
LOG.exception('Togglenext failed!')
|
||||||
toggle_next.button_state = False
|
toggle_next.button_state = False
|
||||||
|
Loading…
Reference in New Issue
Block a user