mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 07:22:56 +00:00 
			
		
		
		
	Fix indentation ruined by renamings
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user