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 10:41:35 +0200
commit31eec6c8047d1a0b2ad18680c2b1e7dd8ed40d3d (patch)
tree0ab9e16aaffa44f3e43ddb045005c931f7233a6b /resources/tools/presentation/generator_tables.py
parent99b2e6a806652ea5e55f98f0a9fe31c45e6466d6 (diff)
Report: Add data
Signed-off-by: Tibor Frank <tifrank@cisco.com> Change-Id: I05ca2f6d33049809dd7b71a35923328e7b30a462
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 167d58d0fd..154e7e7885 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -2693,9 +2693,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(