tfix #1136 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit cdd5d6e1305c46c6b8f36af3b6bf9fc2703a35ce
DIR parent 44d076fbc4552ffe7ceb2bc4f3904ebec527a27b
HTML Author: ThomasV <thomasv@gitorious>
Date: Thu, 9 Apr 2015 19:05:11 +0200
fix #1136
Diffstat:
M lib/network.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/network.py b/lib/network.py
t@@ -93,7 +93,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 s is None:
return None
if s.lower() == 'none':
return None