tandroid: fix protocols dialog - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8d95b9c9805d8f931990222c8357a30561c3b33c DIR parent 761871b9006085473b337df0ea563189615b8090 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 25 Feb 2015 17:25:22 +0100 android: fix protocols dialog Diffstat: M gui/android.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) --- DIR diff --git a/gui/android.py b/gui/android.py t@@ -104,11 +104,8 @@ def protocol_name(p): def protocol_dialog(host, protocol, z): - droid.dialogCreateAlert('Protocol',host) - if z: - protocols = z.keys() - else: - protocols = 'ts' + droid.dialogCreateAlert('Protocol', host) + protocols = filter(lambda x: x in "ts", z.keys()) l = [] current = protocols.index(protocol) for p in protocols: