diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-28 14:06:01 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-28 14:06:01 +0200 |
commit | 0baad1442c327f4376d3666b6b6cae77c544d4d2 (patch) | |
tree | 23a9be95d71ac21f214b19b43ffd514649ac18f5 /scripts/solution.py | |
parent | a493fa23a45c4a211f81690542f56b063894d611 (diff) | |
download | linux-conf-perf-0baad1442c327f4376d3666b6b6cae77c544d4d2.tar.gz linux-conf-perf-0baad1442c327f4376d3666b6b6cae77c544d4d2.tar.bz2 linux-conf-perf-0baad1442c327f4376d3666b6b6cae77c544d4d2.zip |
Fix solution.apply error
Diffstat (limited to 'scripts/solution.py')
-rw-r--r-- | scripts/solution.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/solution.py b/scripts/solution.py index b3bec30..0e4efcd 100644 --- a/scripts/solution.py +++ b/scripts/solution.py @@ -81,8 +81,8 @@ def apply(): # Write solution to output_confs file with open(sf(conf.output_confs), 'a') as f: iteration = 0 - with open(sf(conf.iteration_file)) as f: - iteration = int(f.readline) + with open(sf(conf.iteration_file)) as ff: + iteration = int(ff.readline()) f.write(str(iteration) + ':') for txt in solut: f.write(txt + ' ') |