diff --git a/__init__.py b/__init__.py index 1dde508..c53fe09 100644 --- a/__init__.py +++ b/__init__.py @@ -166,4 +166,5 @@ class my_client_protocol(my_base_protocol): DID_PLOENLEIN: 'Ploenlein', }.get(msg.get_data_id()) print('The light in {target} is {state}'.format(state=state, target=target)) - print('Error receiving data!') + else: + print('Error receiving data!')