diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-10-17 12:40:26 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-10-17 12:40:26 +0300 |
commit | c60d6bc6106449c384690259b95082789e4baf94 (patch) | |
tree | fe012c930381335072b9c065d71dd55eb493ada9 | |
parent | 1ce2e050dc36661ae791250d201070f89d6377d4 (diff) | |
download | obnam-benchmarks-c60d6bc6106449c384690259b95082789e4baf94.tar.gz |
Fix link for profile files
-rwxr-xr-x | obbench | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -307,10 +307,10 @@ class ObnamBenchmarker(cliapp.Application): name=obj['name'], index=index) - step['profile_filename'] = os.path.join( - spec['html_dir'], basename) - with open(step['profile_filename'], 'w') as profile: + filename = os.path.join(spec['html_dir'], basename) + with open(filename, 'w') as profile: profile.write(step['profile']) + step['profile_filename'] = basename reference = 'unknown' if benchmark is not None: |