mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 16:12:55 +00:00 
			
		
		
		
	Make excluded stuff in FileManager configurable from __init__()
This commit is contained in:
		@@ -9,7 +9,7 @@ log = logging.getLogger(__name__)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    ide = SourceCodeEventHandler('webide', tfwenv.WEBIDE_WD)
 | 
			
		||||
    ide = SourceCodeEventHandler('webide', tfwenv.WEBIDE_WD, ['__pycache__'])
 | 
			
		||||
    terminado = TerminadoEventHandler('shell')
 | 
			
		||||
    terminado.historymonitor.subscribe_callback(lambda hist: log.debug('User executed command: "{}"'.format(hist[-1])))
 | 
			
		||||
    processmanager = ProcessManagingEventHandler('processmanager', ide.monitor)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user