From e059d019b981f671e3cf8d8bcb60137960bce1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 27 Apr 2015 22:24:34 +0200 Subject: Fix wrong open mode of iteration file in boot --- scripts/boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/boot.py b/scripts/boot.py index 04ac808..c8c9bea 100644 --- a/scripts/boot.py +++ b/scripts/boot.py @@ -44,7 +44,7 @@ def boot(): data = bench.stdoutput(output) iteration = 0 - with open(sf(conf.iteration_file), 'a') as f: + with open(sf(conf.iteration_file), 'r') as f: iteration = int(f.readline()) for key, val in data.items(): -- cgit v1.2.3