Change-Id: Ie50772de54e8086ebb2320c967009a7c49d2ccc3
This commit is contained in:
Philipp Maier 2023-07-28 10:30:21 +02:00
parent 282bcb8ea7
commit e5133f7879
1 changed files with 1 additions and 1 deletions

View File

@ -105,6 +105,7 @@ class Tracer:
# obtain the next APDU from the source (blocking read)
try:
apdu = self.source.read()
apdu_counter = apdu_counter + 1
except StopIteration:
print("%i APDUs parsed, stop iteration." % apdu_counter)
return 0
@ -127,7 +128,6 @@ class Tracer:
continue
self.format_capdu(apdu, inst)
apdu_counter = apdu_counter + 1
option_parser = argparse.ArgumentParser(description='Osmocom pySim high-level SIM card trace decoder',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)