aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
Diffstat (limited to 'bench.py')
-rwxr-xr-xbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench.py b/bench.py
index 47511fc..1e8b8b1 100755
--- a/bench.py
+++ b/bench.py
@@ -177,7 +177,7 @@ def main():
if "malt" in bench.results:
del(bench.results["malt"])
- if "malt" in bench.results["stats"]:
+ if "stats" in bench.results and "malt" in bench.results["stats"]:
del(bench.results["stats"]["malt"])
# restore allocs
bench.allocators = old_allocs