electrum

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

commit 8d95b9c9805d8f931990222c8357a30561c3b33c
parent 761871b9006085473b337df0ea563189615b8090
Author: ThomasV <thomasv@gitorious>
Date:   Wed, 25 Feb 2015 17:25:22 +0100

android: fix protocols dialog

Diffstat:
Mgui/android.py | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gui/android.py b/gui/android.py @@ -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: