fix handling of unknown sea messages

This commit is contained in:
zolliker 2021-04-23 09:21:47 +02:00 committed by Markus Zolliker
parent 2f96a2db92
commit 3e7b008a59

View File

@ -229,10 +229,13 @@ class SeaClient(ProxyClient, Module):
started_callback = None started_callback = None
continue continue
if flag != 'hdbevent': if flag != 'hdbevent':
if obj != 'frappy_async_client': if obj not in ('frappy_async_client', 'get_all_param'):
print('SKIP', msg) print('SKIP', msg)
continue continue
if data is None: if not data:
continue
if not isinstance(data, dict):
print('what means %r' % msg)
continue continue
now = time.time() now = time.time()
for path, value in data.items(): for path, value in data.items():