Browse Source

fix a rare crash where the hostname must be case sensitive.

tags/v0.3.0
Nils 2 months ago
parent
commit
7ac41f4fff
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      engine/nsmservercontrol.py

+ 2
- 1
engine/nsmservercontrol.py View File

@@ -364,7 +364,8 @@ class NsmServerControl(object):
self.singleInstanceSocket = None
if parameterNsmOSCUrl:
o = urlparse(parameterNsmOSCUrl)
self.nsmOSCUrl = (o.hostname, o.port)
#self.nsmOSCUrl = (o.hostname, o.port) #this forces lowercase. in rare circumstances this is not correct and we must be case sensitive. fix:
self.nsmOSCUrl = o.netloc.split(":")[0], o.port
else:
envResult = self._getNsmOSCUrlFromEnvironment()
if envResult:

Loading…
Cancel
Save