Don't allow spaces in devicename

This commit is contained in:
tomkat83 2018-01-01 17:15:01 +01:00
parent 6caa759ce1
commit 2e5249ca4f

View file

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