diff -r b8b47f9b5e56 -r 396da88d7b5c Beremiz_service.py --- a/Beremiz_service.py Fri Sep 22 10:57:57 2017 +0300 +++ b/Beremiz_service.py Fri Sep 22 16:37:38 2017 +0300 @@ -514,7 +514,7 @@ def evaluator(tocall, *args, **kwargs): global main_thread - if(main_thread == currentThread()): + if main_thread == currentThread(): # avoid dead lock if called from the wx mainloop return default_evaluator(tocall, *args, **kwargs) else: