Beremiz_service.py
changeset 1732 94ffe74e6895
parent 1730 64d8f52bc8c8
child 1734 750eeb7230a1
--- a/Beremiz_service.py	Mon Aug 14 21:09:48 2017 +0300
+++ b/Beremiz_service.py	Mon Aug 14 21:20:32 2017 +0300
@@ -23,7 +23,9 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
-import os, sys, getopt
+import os
+import sys
+import getopt
 from threading import Thread
 
 def usage():
@@ -524,7 +526,8 @@
 
 
 # Exception hooks s
-import threading, traceback
+import threading
+import traceback
 def LogException(*exp):
     if pyroserver.plcobj is not None:
         pyroserver.plcobj.LogMessage(0,'\n'.join(traceback.format_exception(*exp)))