From 691f24ec052cc9d48d6abe143bcae95486f94388 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Fri, 28 Feb 2020 13:48:15 +0100 Subject: Report: Detailed test results - sub-chapters reorg Change-Id: I0a90bcfde1e8be368e7ddaf9a41abbe52851cd62 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_plots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/tools/presentation/generator_plots.py') diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 74db877007..5c9698912f 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -314,8 +314,8 @@ def plot_hdrh_lat_by_percentile(plot, input_data): filename=file_name) # Add link to the file: if file_links and target_links: - with open(file_links, u"a") as fw: - fw.write( + with open(file_links, u"a") as file_handler: + file_handler.write( f"- `{name_link} " f"<{target_links}/{file_name.split(u'/')[-1]}>`_\n" ) -- cgit 1.2.3-korg