android: fix protocols dialog
This commit is contained in:
parent
761871b900
commit
8d95b9c980
|
@ -105,10 +105,7 @@ def protocol_name(p):
|
|||
|
||||
def protocol_dialog(host, protocol, z):
|
||||
droid.dialogCreateAlert('Protocol', host)
|
||||
if z:
|
||||
protocols = z.keys()
|
||||
else:
|
||||
protocols = 'ts'
|
||||
protocols = filter(lambda x: x in "ts", z.keys())
|
||||
l = []
|
||||
current = protocols.index(protocol)
|
||||
for p in protocols:
|
||||
|
|
Loading…
Reference in New Issue