mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fixed string replacement for popen result
This commit is contained in:
parent
d6518039d4
commit
e51541e4ac
@ -16,7 +16,7 @@ class ClusterClient(DirectObject.DirectObject):
|
|||||||
# First start up servers using direct daemon
|
# First start up servers using direct daemon
|
||||||
# What is the name of the client machine?
|
# What is the name of the client machine?
|
||||||
clusterDaemonClient = os.popen('uname -n').read()
|
clusterDaemonClient = os.popen('uname -n').read()
|
||||||
clusterDaemonClient.replace('\n', '')
|
clusterDaemonClient = clusterDaemonClient.replace('\n', '')
|
||||||
# What daemon port are we using to communicate between client/servers
|
# What daemon port are we using to communicate between client/servers
|
||||||
clusterDaemonPort = base.config.GetInt(
|
clusterDaemonPort = base.config.GetInt(
|
||||||
'cluster-daemon-port', CLUSTER_DAEMON_PORT)
|
'cluster-daemon-port', CLUSTER_DAEMON_PORT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user