--- a/runtime/PLCObject.py Mon Aug 14 22:30:41 2017 +0300
+++ b/runtime/PLCObject.py Mon Aug 14 23:27:15 2017 +0300
@@ -39,6 +39,8 @@
from _ctypes import dlopen, dlclose
import traceback
+
+
def get_last_traceback(tb):
while tb.tb_next:
tb = tb.tb_next
@@ -49,10 +51,12 @@
"win32":".dll",
}.get(sys.platform, "")
+
def PLCprint(message):
sys.stdout.write("PLCobject : "+message+"\n")
sys.stdout.flush()
+
class PLCObject(pyro.ObjBase):
def __init__(self, workingdir, daemon, argv, statuschange, evaluator, pyruntimevars):
pyro.ObjBase.__init__(self)