Merge pull request #1186 from croneter/fix-spaces

Revert "Don't allow spaces in devicename"
This commit is contained in:
croneter 2020-06-09 12:06:40 +02:00 committed by GitHub
commit 20c7ca0d05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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