From a336d626be00531473674c4ccf5f4f9c41e5757c Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Wed, 21 Apr 2021 21:23:03 +0200 Subject: [PATCH] strip device names --- bin/rzr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rzr b/bin/rzr index 45db161..e1df5b3 100644 --- a/bin/rzr +++ b/bin/rzr @@ -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, )