aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
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(