Use dict syntax (#41325)
This commit is contained in:
1 parent
61f919b18c
commit
4d5948b4d0
13 files changed
+40
-38
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user