more 009a tweaks and some debugging output

This commit is contained in:
Viktor Dragomiretskyy 2020-06-23 03:06:50 +12:00
parent d465573b2a
commit d4471c4096

View file

@ -165,9 +165,10 @@ def enroll(identity, subtype):
key, rsp, template = append_new_image(key, template)
print('Progress: %d %% done' % rsp[0x3c])
print(hexlify(rsp))
print('Progress: %d %% done' % rsp[0x3a])
if rsp[0x3c] == 100:
if rsp[0x3a] == 100:
break
# FIXME check for duplicates