commit | 8d243e884757744af8c4708a1f8b30c2b30d9da8 | [log] [tgz] |
---|---|---|
author | Sylvain Munaut <tnt@246tNt.com> | Thu Dec 23 20:27:48 2010 +0100 |
committer | Sylvain Munaut <tnt@246tNt.com> | Thu Dec 23 20:27:48 2010 +0100 |
tree | 78042704f14f51756b52dce97f4dd9fee434a227 | |
parent | 98d2b85a974dc8cc935290c567aef9a0f6226e46 [diff] [blame] |
pySim-prog: Fix crash when using manuam imsi/iccid/kc Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
diff --git a/pySim-prog.py b/pySim-prog.py index 12021aa..f599cb7 100755 --- a/pySim-prog.py +++ b/pySim-prog.py
@@ -435,7 +435,8 @@ 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 ?