tfix #3578 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fc574ee514c6798ed0950003f1736407e52c2074 DIR parent f3a6491df4fbfa5135fa0d806b88f61df940c3ee HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 21 Dec 2017 23:31:59 +0100 fix #3578 Diffstat: M lib/network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -105,7 +105,8 @@ proxy_modes = ['socks4', 'socks5', 'http'] def serialize_proxy(p): if not isinstance(p, dict): return None - return ':'.join([p.get('mode'),p.get('host'), p.get('port'), p.get('user'), p.get('password')]) + return ':'.join([p.get('mode'), p.get('host'), p.get('port'), + p.get('user', ''), p.get('password', '')]) def deserialize_proxy(s):