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')
|
||||
try:
|
||||
port = int(port)
|
||||
except ValueError, TypeError:
|
||||
except (ValueError, TypeError) as e:
|
||||
port = 1080
|
||||
if not host or not jid:
|
||||
self.proxies[proxy]._on_connect_failure()
|
||||
|
|
Loading…
Reference in New Issue