mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-27 15:58:34 +03:00
pySim-prog: Fix crash when using manuam imsi/iccid/kc
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
@@ -435,7 +435,8 @@ if __name__ == '__main__':
|
|||||||
write_parameters(opts, cp)
|
write_parameters(opts, cp)
|
||||||
|
|
||||||
# Batch mode state update and save
|
# Batch mode state update and save
|
||||||
opts.num += 1
|
if opts.num is not None:
|
||||||
|
opts.num += 1
|
||||||
save_batch(opts)
|
save_batch(opts)
|
||||||
|
|
||||||
# Done for this card and maybe for everything ?
|
# Done for this card and maybe for everything ?
|
||||||
|
|||||||
Reference in New Issue
Block a user