1 parent
f77a8b9e17
commit
17ba6a7c4d
1 file changed
+4
@@ -1385,6 +1385,10 @@ class Controller( Node ):
|
|||||||
self.command = command
|
self.command = command
|
||||||
self.cargs = cargs
|
self.cargs = cargs
|
||||||
self.cdir = cdir
|
self.cdir = cdir
|
||||||
|
# Accept 'ip:port' syntax as shorthand
|
||||||
|
if ':' in ip:
|
||||||
|
ip, port = ip.split( ':' )
|
||||||
|
port = int( port )
|
||||||
self.ip = ip
|
self.ip = ip
|
||||||
self.port = port
|
self.port = port
|
||||||
self.protocol = protocol
|
self.protocol = protocol
|
||||||
|
|||||||
Reference in new issue
Block a user