prevent traceback

This commit is contained in:
Denis Fomin 2012-11-18 23:46:43 +04:00
parent eb74a92f9a
commit 9fa880cc36
1 changed files with 1 additions and 1 deletions

View File

@ -1433,7 +1433,7 @@ def get_proxy_info(account):
except Exception:
proxy = None
p = gajim.config.get('global_proxy')
if p:
if p and p in gajim.config.get_per('proxies'):
proxy = {}
proxyptr = gajim.config.get_per('proxies', p)
if not proxyptr: