mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 17:55:20 +00:00
network dialog: default ports
This commit is contained in:
parent
c0abd3c34e
commit
7ca42d75ff
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class NetworkDialog(QDialog):
|
||||||
def change_protocol(self, index):
|
def change_protocol(self, index):
|
||||||
p = protocol_letters[index]
|
p = protocol_letters[index]
|
||||||
host = unicode(self.server_host.text())
|
host = unicode(self.server_host.text())
|
||||||
pp = self.servers.get(host)
|
pp = self.servers.get(host, DEFAULT_PORTS)
|
||||||
if p not in pp.keys():
|
if p not in pp.keys():
|
||||||
p = pp.keys()[0]
|
p = pp.keys()[0]
|
||||||
port = pp[p]
|
port = pp[p]
|
||||||
|
|
Loading…
Add table
Reference in a new issue