fix handle life span method call

This commit is contained in:
bittles
2022-12-31 10:34:41 -05:00
parent ea8e7f37a7
commit 16a6e3379c
+1 -1
View File
@@ -983,7 +983,7 @@ class EcoVacsXMPP(ClientXMPP):
# result['event'] = result.pop('type')
if 'errno' in result:
if result['errno'] == '':
result['errno'] = 'handle_life_span'
result['errno'] = 'life_span'
result['event'] = result.pop('errno')
if xml:
result.update(xml[0].attrib)