aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-04-29 10:41:35 +0200
committerTibor Frank <tifrank@cisco.com>2020-04-29 08:56:15 +0000
commit207f5af553491068a75db3a61a0591497a110576 (patch)
treea7625f3880e559b6765b05c93f7f816b45649e4f /resources/tools/presentation/generator_tables.py
parent4787ec6f590a94ba997097286bbfeb86e8eeba01 (diff)
Report: Add data
Signed-off-by: Tibor Frank <tifrank@cisco.com> Change-Id: I05ca2f6d33049809dd7b71a35923328e7b30a462 (cherry picked from commit 31eec6c8047d1a0b2ad18680c2b1e7dd8ed40d3d) (cherry picked from commit 1d42e3a9cf1ae55ba9970519f19f10ff12c94e15)
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r--resources/tools/presentation/generator_tables.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 72d93f8247..34954141b2 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -2685,9 +2685,9 @@ def table_comparison(table, input_data):
with open(txt_file_name, u'a', encoding='utf-8') as txt_file:
txt_file.write(legend)
- if footnote:
- txt_file.write(footnote)
- txt_file.write(u"\n:END")
+ txt_file.write(footnote)
+ if legend or footnote:
+ txt_file.write(u"\n:END")
# Generate html table:
_tpc_generate_html_table(