From ae7d3514a16f4742ee06d4558044a727f0db0b6b Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Thu, 2 Feb 2023 17:33:36 +0100 Subject: [PATCH] update interactive frappy client Change-Id: Icf0ce4c7e2f99ac65e2b47e8fa1efb497322922a --- frappy/client/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frappy/client/__init__.py b/frappy/client/__init__.py index e25e58d..979eafd 100644 --- a/frappy/client/__init__.py +++ b/frappy/client/__init__.py @@ -318,12 +318,12 @@ class SecopClient(ProxyClient): ident = None if action in UPDATE_MESSAGES: module_param = self.internal.get(ident, None) - if module_param is None and ':' not in ident: + if module_param is None and ':' not in (ident or ''): # allow missing ':value'/':target' if action == WRITEREPLY: - module_param = self.internal.get(ident + ':target', None) + module_param = self.internal.get('%s:target' % ident, None) else: - module_param = self.internal.get(ident + ':value', None) + module_param = self.internal.get('%s:value' % ident, None) if module_param is not None: if action.startswith(ERRORPREFIX): timestamp = data[2].get('t', None)