Removing unnecessary braces in RemoteController
This commit is contained in:
+1
-1
@@ -1501,7 +1501,7 @@ class RemoteController( Controller ):
|
|||||||
if self.port is not None:
|
if self.port is not None:
|
||||||
self.isListening( self.ip, self.port )
|
self.isListening( self.ip, self.port )
|
||||||
else:
|
else:
|
||||||
for port in [ 6653, 6633 ]:
|
for port in 6653, 6633:
|
||||||
if self.isListening( self.ip, port ):
|
if self.isListening( self.ip, port ):
|
||||||
self.port = port
|
self.port = port
|
||||||
info( "Connecting to remote controller"
|
info( "Connecting to remote controller"
|
||||||
|
|||||||
Reference in New Issue
Block a user