Beremiz_service.py
changeset 1955 a1ea9856013a
parent 1953 5736d25bb393
child 1984 081265cda5b1
child 2200 6417f5b59eff
--- a/Beremiz_service.py	Tue Feb 20 14:24:30 2018 +0100
+++ b/Beremiz_service.py	Tue Feb 20 14:46:12 2018 +0100
@@ -110,9 +110,9 @@
     elif o == "-s":
         wampsecret = None if a == "off" else a
     elif o == "-e":
-        l = list(os.path.split(os.path.realpath(a)))
-        l.reverse()
-        extensions.append(l)
+        fnameanddirname = list(os.path.split(os.path.realpath(a)))
+        fnameanddirname.reverse()
+        extensions.append(fnameanddirname)
     else:
         usage()
         sys.exit()
@@ -555,6 +555,7 @@
 def LogException(*exp):
     LogMessageAndException("", exp)
 
+
 sys.excepthook = LogException