runtime/PLCObject.py
changeset 1440 e8daabf2c438
parent 1438 19ebe96b41c0
child 1442 ad9a7853dea2
--- a/runtime/PLCObject.py	Thu Feb 05 23:32:31 2015 +0100
+++ b/runtime/PLCObject.py	Sun Feb 08 16:50:54 2015 +0100
@@ -447,7 +447,8 @@
             last_md5 = open(self._GetMD5FileName(), "r").read()
             return last_md5 == MD5
         except:
-            return False
+            pass
+        return False
 
     def SetTraceVariablesList(self, idxs):
         """
@@ -534,7 +535,7 @@
         self._TracesFlush()
 
 
-    def RemoteExec(self, script, **kwargs):
+    def RemoteExec(self, script, *kwargs):
         try:
             exec script in kwargs
         except: