diff --git a/resources/lib/variables.py b/resources/lib/variables.py index a21926fe..372bf23b 100644 --- a/resources/lib/variables.py +++ b/resources/lib/variables.py @@ -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'))