made Link Mauve's patch python 3 ready
This commit is contained in:
parent
873fa6fdae
commit
eef97d989f
|
@ -88,7 +88,7 @@ class Proxy65Manager:
|
||||||
port = item.getAttr('port')
|
port = item.getAttr('port')
|
||||||
try:
|
try:
|
||||||
port = int(port)
|
port = int(port)
|
||||||
except ValueError, TypeError:
|
except (ValueError, TypeError) as e:
|
||||||
port = 1080
|
port = 1080
|
||||||
if not host or not jid:
|
if not host or not jid:
|
||||||
self.proxies[proxy]._on_connect_failure()
|
self.proxies[proxy]._on_connect_failure()
|
||||||
|
|
Loading…
Reference in New Issue