diff -r e7b6478b4ebc -r ccea0fa6ea91 Beremiz_service.py --- 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