aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
Diffstat (limited to 'bench.py')
-rwxr-xr-xbench.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bench.py b/bench.py
index 10c8f25..696c66a 100755
--- a/bench.py
+++ b/bench.py
@@ -52,6 +52,10 @@ def epilog():
with open(os.path.join(src.globalvars.resdir, "facts.save"), "wb") as facts_file:
pickle.dump(src.globalvars.facts, facts_file)
+ # remove a left over status file if some is present
+ if os.path.exists("status"):
+ os.remove("status")
+
def check_dependencies():
"""Check if known requirements of allocbench are met"""