Browse Source

BugFix: Client Error message

master
Dirk Alders 4 years ago
parent
commit
551e3e558d
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      __init__.py

+ 2
- 1
__init__.py View File

@@ -166,4 +166,5 @@ class my_client_protocol(my_base_protocol):
166 166
                     DID_PLOENLEIN: 'Ploenlein',
167 167
                 }.get(msg.get_data_id())
168 168
                 print('The light in {target} is {state}'.format(state=state, target=target))
169
-        print('Error receiving data!')
169
+        else:
170
+            print('Error receiving data!')

Loading…
Cancel
Save