# HG changeset patch # User Andrey Skvortsov # Date 1473432812 -10800 # Node ID 70fc5688741e1f09ea691b0d1401ed3a4f277aff # Parent 3519eee2bdf671ba83d53fe5dfe072a41da2e5b0 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. diff -r 3519eee2bdf6 -r 70fc5688741e ProjectController.py --- 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