aboutsummaryrefslogtreecommitdiffstats
path: root/pySim-prog.py
diff options
context:
space:
mode:
Diffstat (limited to 'pySim-prog.py')
-rwxr-xr-xpySim-prog.py3
1 files changed, 2 insertions, 1 deletions
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 @@ 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 ?