Bug on RegisterDebugVariable when no PLC running fixed
authorlaurent
Tue, 08 Dec 2009 16:27:27 +0100
changeset 479 c28f40b27798
parent 478 029688dad14d
child 480 746b2e02f6fb
Bug on RegisterDebugVariable when no PLC running fixed
runtime/PLCObject.py
--- a/runtime/PLCObject.py	Tue Dec 08 12:54:28 2009 +0100
+++ b/runtime/PLCObject.py	Tue Dec 08 16:27:27 2009 +0100
@@ -163,7 +163,7 @@
         self._startPLC = lambda:None
         self._stopPLC = lambda:None
         self._ResetDebugVariables = lambda:None
-        self._RegisterDebugVariable = lambda x:None
+        self._RegisterDebugVariable = lambda x, y:None
         self._IterDebugData = lambda x,y:None
         self._FreeDebugData = lambda:None
         self._GetDebugData = lambda:-1