electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f894af90d7b3f7d7623ef0e07461e5a7e4d2a4ab
parent 74d26f5bdcfcd6ca49c00ad6345ab81ca50f8f99
Author: ThomasV <thomasv@gitorious>
Date:   Tue, 23 Jun 2015 14:22:10 +0200

fix deserialize_proxy. fixes #1309

Diffstat:
Mlib/network.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/network.py b/lib/network.py @@ -92,7 +92,7 @@ def serialize_proxy(p): return ':'.join([p.get('mode'),p.get('host'), p.get('port')]) def deserialize_proxy(s): - if type(s) != str: + if type(s) not in [str, unicode]: return None if s.lower() == 'none': return None