Beremiz_service.py
changeset 1841 9fd29e8b1393
parent 1834 cd42b426028b
child 1847 6198190bc121
--- a/Beremiz_service.py	Mon Oct 02 12:43:01 2017 +0300
+++ b/Beremiz_service.py	Mon Oct 02 13:19:06 2017 +0300
@@ -510,7 +510,6 @@
         wx_eval_lock.release()
 
     def evaluator(tocall, *args, **kwargs):
-        global main_thread
         if main_thread == currentThread():
             # avoid dead lock if called from the wx mainloop
             return default_evaluator(tocall, *args, **kwargs)