commit 5160f46ca1e9ab6236c9a77886587f502ec189b4
parent 824e16e0b3b979197e9a225945c1d3e3e0ac039d
Author: ThomasV <thomasv@gitorious>
Date: Mon, 11 May 2015 08:19:19 +0200
fix proxy value in text gui
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gui/text.py b/gui/text.py
@@ -429,8 +429,10 @@ class ElectrumGui:
value = '*'*len(item.get('value',''))
else:
value = ''
-
- if len(value)<20: value += ' '*(20-len(value))
+ if value is None:
+ value = ''
+ if len(value)<20:
+ value += ' '*(20-len(value))
if item.has_key('value'):
w.addstr( 2+interval*i, 2, label)