From 551e3e558dd54933e10b4e4806ee3f8c02dbfe19 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Thu, 7 Jan 2021 01:29:13 +0100 Subject: [PATCH] BugFix: Client Error message --- __init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!')