prevent traceback. Fixes #7080

This commit is contained in:
Yann Leboulanger 2012-01-22 00:28:14 +01:00
parent 72bca44272
commit b30b6dd94f

View file

@ -1432,6 +1432,8 @@ def get_proxy_info(account):
if p:
proxy = {}
proxyptr = gajim.config.get_per('proxies', p)
if not proxyptr:
return proxy
for key in proxyptr.keys():
proxy[key] = proxyptr[key][1]
return proxy