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