From eef97d989f17546700ff6488c1f8b595ebd3cfd0 Mon Sep 17 00:00:00 2001 From: tmolitor Date: Sat, 6 Aug 2016 23:46:57 +0200 Subject: [PATCH] made Link Mauve's patch python 3 ready --- src/common/proxy65_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/proxy65_manager.py b/src/common/proxy65_manager.py index 716aec9ef..0ebab1356 100644 --- a/src/common/proxy65_manager.py +++ b/src/common/proxy65_manager.py @@ -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()