Beremiz_service.py
changeset 1919 ccea0fa6ea91
parent 1916 b69bea00765a
child 1929 ed95aa627647
--- a/Beremiz_service.py	Wed Jan 31 15:25:30 2018 +0100
+++ b/Beremiz_service.py	Thu Feb 01 14:51:18 2018 +0100
@@ -173,6 +173,8 @@
         # __builtin__.__dict__['_'] = wx.GetTranslation
 
 
+# Life is hard... have a candy.
+# pylint: disable=wrong-import-position,wrong-import-order
 if enablewx:
     try:
         import wx
@@ -549,7 +551,7 @@
 
 
 def LogException(*exp):
-    LogExceptionAndMessage("", exp)
+    LogMessageAndException("", exp)
 
 sys.excepthook = LogException