runtime/PLCObject.py
changeset 1730 64d8f52bc8c8
parent 1667 cefc9219bb48
child 1732 94ffe74e6895
--- a/runtime/PLCObject.py	Fri Aug 11 15:18:19 2017 +0300
+++ b/runtime/PLCObject.py	Mon Aug 14 19:13:01 2017 +0300
@@ -143,8 +143,8 @@
             self.PLClibraryHandle = ctypes.CDLL(self.CurrentPLCFilename, handle=self._PLClibraryHandle)
 
             self.PLC_ID = ctypes.c_char_p.in_dll(self.PLClibraryHandle, "PLC_ID")
-            if len(md5) == 32 : 
-                self.PLC_ID.value = md5 
+            if len(md5) == 32 :
+                self.PLC_ID.value = md5
 
             self._startPLC = self.PLClibraryHandle.startPLC
             self._startPLC.restype = ctypes.c_int
@@ -556,5 +556,3 @@
             return (-1, "RemoteExec script failed!\n\nLine %d: %s\n\t%s" %
                         (line_no, e_value, script.splitlines()[line_no - 1]))
         return (0, kwargs.get("returnVal", None))
-
-