aboutsummaryrefslogtreecommitdiff
path: root/scripts/iteration.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/iteration.py')
-rw-r--r--scripts/iteration.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/iteration.py b/scripts/iteration.py
deleted file mode 100644
index ef5a3f0..0000000
--- a/scripts/iteration.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from conf import conf
-from conf import sf
-
-def reset():
- with open(sf(conf.iteration_file), 'w') as f:
- f.write('0')
-
-def inc():
- with open(sf(conf.iteration_file), 'r') as f:
- it = int(f.read())
- it += 1
- with open(sf(conf.iteration_file), 'w') as f:
- f.write(str(it))