Revert "Don't allow spaces in devicename"

This reverts commit 2e5249ca4f.
This commit is contained in:
croneter 2020-06-09 09:57:21 +02:00
parent 038477fa77
commit 075b28aa51

View file

@ -92,7 +92,7 @@ DEVICENAME = DEVICENAME.replace("?", "")
DEVICENAME = DEVICENAME.replace('|', "") DEVICENAME = DEVICENAME.replace('|', "")
DEVICENAME = DEVICENAME.replace('(', "") DEVICENAME = DEVICENAME.replace('(', "")
DEVICENAME = DEVICENAME.replace(')', "") DEVICENAME = DEVICENAME.replace(')', "")
DEVICENAME = DEVICENAME.replace(' ', "") DEVICENAME = DEVICENAME.strip()
COMPANION_PORT = int(_ADDON.getSetting('companionPort')) COMPANION_PORT = int(_ADDON.getSetting('companionPort'))