Fix bug of PythonIterator signature in PLCObject when not using PythonLibrary
authorEdouard Tisserant
Thu, 25 Oct 2012 10:52:46 +0200
changeset 868 7e5da4962bea
parent 867 06495975e8a4
child 869 abf90a44c265
Fix bug of PythonIterator signature in PLCObject when not using PythonLibrary
runtime/PLCObject.py
--- a/runtime/PLCObject.py	Wed Oct 24 11:19:11 2012 +0200
+++ b/runtime/PLCObject.py	Thu Oct 25 10:52:46 2012 +0200
@@ -113,7 +113,7 @@
                 # as a call that block pythonthread until StopPLC 
                 self.PythonIteratorLock = Lock()
                 self.PythonIteratorLock.acquire()
-                def PythonIterator(res):
+                def PythonIterator(res, blkid):
                     self.PythonIteratorLock.acquire()
                     self.PythonIteratorLock.release()
                     return None