connectors/PYRO/__init__.py
changeset 906 de452d65865c
parent 763 c1104099c151
child 917 401e44bae7c0
--- a/connectors/PYRO/__init__.py	Thu Jan 17 00:22:35 2013 +0100
+++ b/connectors/PYRO/__init__.py	Tue Jan 22 19:03:25 2013 +1100
@@ -140,11 +140,11 @@
             if self.RemotePLCObjectProxyCopy is None:
                 self.RemotePLCObjectProxyCopy = copy.copy(confnodesroot._connector.GetPyroProxy())
             return self.RemotePLCObjectProxyCopy.GetTraceVariables()
-        GetTraceVariables = PyroCatcher(_PyroGetTraceVariables,("Broken",None,None))
+        GetTraceVariables = PyroCatcher(_PyroGetTraceVariables,("Broken",-1,None,None))
 
         def _PyroGetPLCstatus(self):
             return RemotePLCObjectProxy.GetPLCstatus()
-        GetPLCstatus = PyroCatcher(_PyroGetPLCstatus, "Broken")
+        GetPLCstatus = PyroCatcher(_PyroGetPLCstatus, ("Broken",-1))
 
         def _PyroRemoteExec(self, script, **kwargs):
             return RemotePLCObjectProxy.RemoteExec(script, **kwargs)