Refactor SourceCodeEventHandler blacklisting to use unix pattern matching

This commit is contained in:
Kristóf Tóth
2018-03-15 15:43:42 +01:00
parent 1b87863997
commit aa54e40f14
2 changed files with 9 additions and 5 deletions

View File

@ -40,7 +40,7 @@ toggle_next.button_state = False
if __name__ == '__main__':
ide = SourceCodeEventHandler(key='webide', directory=tfwenv.WEBIDE_WD, exclude=['__pycache__'])
ide = SourceCodeEventHandler(key='webide', directory=tfwenv.WEBIDE_WD, exclude=['*.pyc'])
terminado = TerminadoEventHandler(key='shell')
terminado.historymonitor.subscribe_callback(cenator)
terminado.historymonitor.subscribe_callback(selectdir)