runtime/PLCObject.py
changeset 734 5c42cafaee15
parent 717 1c23952dbde1
child 795 afcc13faecd5
--- a/runtime/PLCObject.py	Sat May 19 19:00:55 2012 +0200
+++ b/runtime/PLCObject.py	Sun May 20 19:07:09 2012 +0200
@@ -183,6 +183,8 @@
         self.python_threads_vars["website"] = self.website
         self.python_threads_vars["_runtime_begin"] = []
         self.python_threads_vars["_runtime_cleanup"] = []
+        self.python_threads_vars["PLCObject"] = self
+        self.python_threads_vars["PLCBinary"] = self.PLClibraryHandle
         
         for filename in os.listdir(self.workingdir):
             name, ext = os.path.splitext(filename)