pySim-prog: Fix crash when using manuam imsi/iccid/kc

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut
2010-12-23 20:27:48 +01:00
parent 98d2b85a97
commit 8d243e8847

View File

@@ -435,7 +435,8 @@ if __name__ == '__main__':
write_parameters(opts, cp)
# Batch mode state update and save
opts.num += 1
if opts.num is not None:
opts.num += 1
save_batch(opts)
# Done for this card and maybe for everything ?