Browse Source

BugFix: Client Error message

master
Dirk Alders 3 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
                     DID_PLOENLEIN: 'Ploenlein',
166
                     DID_PLOENLEIN: 'Ploenlein',
167
                 }.get(msg.get_data_id())
167
                 }.get(msg.get_data_id())
168
                 print('The light in {target} is {state}'.format(state=state, target=target))
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