# HG changeset patch # User Edouard Tisserant # Date 1731062040 -3600 # Node ID 6359536d60a914ad865b0894e101247aaaff9391 # Parent 208a808d1081385dff8d15f2030e72d28efe18dd python_runtime: fix ExtendedCall register/unregistering. diff -r 208a808d1081 -r 6359536d60a9 runtime/PLCObject.py --- a/runtime/PLCObject.py Mon Oct 28 16:06:50 2024 +0100 +++ b/runtime/PLCObject.py Fri Nov 08 11:34:00 2024 +0100 @@ -829,9 +829,9 @@ """ Dispatch argument to registered service """ return self.extended_calls[method](argument) - def RegisterExtendedCall(method, callback): + def RegisterExtendedCall(self, method, callback): self.extended_calls[method] = callback - def UnregisterExtendedCall(method): + def UnregisterExtendedCall(self, method): del self.extended_calls[method]