beremiz

Parents 3519eee2bdf6
Children 36e912fac70f
fix non-working logging at first connection to PLC after Beremiz launch

At the same time this helps to avoid exception described in 1484:d5efbb20927e.
--- a/ProjectController.py Fri Sep 09 13:39:24 2016 +0300
+++ b/ProjectController.py Fri Sep 09 17:53:32 2016 +0300
@@ -1561,11 +1561,8 @@
if connector is not None:
if self.StatusTimer is not None:
# Start the status Timer
- # Suppress WXDEBUG assertions, as happens by default with wx2.8
- try:
- self.StatusTimer.Start(milliseconds=500, oneShot=False)
- except:
- pass
+ wx.Yield()
+ self.StatusTimer.Start(milliseconds=500, oneShot=False)
else:
if self.StatusTimer is not None:
# Stop the status Timer