runtime/PLCObject.py
changeset 2682 4d3320fdab19
parent 2678 45f1ff6a7f87
child 2689 7f67a7f6bfcc
--- a/runtime/PLCObject.py	Thu Jun 18 14:18:16 2020 +0200
+++ b/runtime/PLCObject.py	Fri Jun 19 11:07:25 2020 +0200
@@ -451,7 +451,7 @@
         self.PythonThreadCond.notify()
         self.PythonThreadCondLock.release()
 
-    def _fail(msg):
+    def _fail(self, msg):
         self.LogMessage(0, msg)
         self.PLCStatus = PlcStatus.Broken
         self.StatusChange()