strip device names

This commit is contained in:
Denis Lehmann 2021-04-21 21:23:03 +02:00
parent a2b515f28e
commit a336d626be

View file

@ -57,7 +57,7 @@ def apply_lightmap(device_profile):
(
d
for d in device_manager.devices
if d.name.lower() == device_profile["name"].lower()
if d.name.lower().strip() == device_profile["name"].lower().strip()
),
None,
)