diff options
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 576766952b..f703e4b718 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -317,7 +317,7 @@ def table_details(table, input_data): try: col_data = str(data[job][build][test][column[ u"data"].split(" ")[1]]).replace(u'"', u'""') - if column[u"data"].split(u" ")[1] in (u"name", ): + if column[u"data"].split(u" ")[1] in (u"name", u"msg"): col_data = f" |prein| {col_data} |preout| " if column[u"data"].split(u" ")[1] in \ (u"conf-history", u"show-run"): @@ -393,10 +393,10 @@ def table_merged_details(table, input_data): col_data = col_data.replace( u"No Data", u"Not Captured " ) - if column[u"data"].split(u" ")[1] in (u"name", ): + if column[u"data"].split(u" ")[1] in (u"name", u"msg"): col_data = f" |prein| {col_data} |preout| " if column[u"data"].split(u" ")[1] in \ - (u"conf-history", u"show-run", u"msg"): + (u"conf-history", u"show-run"): col_data = col_data.replace(u" |br| ", u"", 1) col_data = f" |prein| {col_data[:-5]} |preout| " row_lst.append(f'"{col_data}"') |