made Link Mauve's patch python 3 ready
This commit is contained in:
parent
873fa6fdae
commit
eef97d989f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue