Bug fix when there only one target in server list

This commit is contained in:
unknown
2014-08-01 17:55:19 +02:00
parent 17b57ddd4f
commit 26087620a0

View File

@@ -125,8 +125,7 @@ class ProxyServer(rdp.RDPServerObserver):
ip, port = machines[0]
width, height = self._controller.getScreen()
reactor.connectTCP(ip, port, ProxyClientFactory(self, width, height,
domain, username, password,
"%s\\%s on %s:%s"%(domain, username, ip, port)))
domain, username, password))
else:
self.showSelectView(machines)
else: