fix handling of unknown sea messages
This commit is contained in:
parent
2f96a2db92
commit
3e7b008a59
@ -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():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user