# HG changeset patch # User Edouard Tisserant # Date 1592557645 -7200 # Node ID 12cd063911852c4e992bfe4f7851578c652d8d89 # Parent 2ddedeb035e0a1df9f996d88b355f379f9de8d6c Runtime: Fix typo in PLCObject leading to exception when reporting failure. diff -r 2ddedeb035e0 -r 12cd06391185 runtime/PLCObject.py --- a/runtime/PLCObject.py Thu Jun 18 14:18:40 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()