Bug fix when there only one target in server list
This commit is contained in:
@@ -125,8 +125,7 @@ class ProxyServer(rdp.RDPServerObserver):
|
|||||||
ip, port = machines[0]
|
ip, port = machines[0]
|
||||||
width, height = self._controller.getScreen()
|
width, height = self._controller.getScreen()
|
||||||
reactor.connectTCP(ip, port, ProxyClientFactory(self, width, height,
|
reactor.connectTCP(ip, port, ProxyClientFactory(self, width, height,
|
||||||
domain, username, password,
|
domain, username, password))
|
||||||
"%s\\%s on %s:%s"%(domain, username, ip, port)))
|
|
||||||
else:
|
else:
|
||||||
self.showSelectView(machines)
|
self.showSelectView(machines)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user