From c60d6bc6106449c384690259b95082789e4baf94 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 17 Oct 2015 12:40:26 +0300 Subject: Fix link for profile files --- obbench | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'obbench') diff --git a/obbench b/obbench index c80b294..be11190 100755 --- a/obbench +++ b/obbench @@ -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: -- cgit v1.2.1