Use dict syntax (#41325)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-10-06 15:02:23 +02:00
1 parent 61f919b18c
commit 4d5948b4d0
13 files changed
+40 -38

No files matched your search

+1 -1
View File
@@ -237,7 +237,7 @@ def _create_rfx(config):
def _get_device_lookup(devices):
"""Get a lookup structure for devices."""
lookup = dict()
lookup = {}
for event_code, event_config in devices.items():
event = get_rfx_object(event_code)
if event is None: