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.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 4795ab7985..f4c57f76d4 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -431,10 +431,11 @@ def table_performance_comparison(table, input_data):
tbl_see = list()
tbl_delta = list()
for item in tbl_lst:
- if "New in CSIT" in item[-1]:
- tbl_new.append(item)
- elif "See footnote" in item[-1]:
- tbl_see.append(item)
+ if isinstance(item[-1], str):
+ if "New in CSIT" in item[-1]:
+ tbl_new.append(item)
+ elif "See footnote" in item[-1]:
+ tbl_see.append(item)
else:
tbl_delta.append(item)
@@ -725,10 +726,11 @@ def table_performance_comparison_nic(table, input_data):
tbl_see = list()
tbl_delta = list()
for item in tbl_lst:
- if "New in CSIT" in item[-1]:
- tbl_new.append(item)
- elif "See footnote" in item[-1]:
- tbl_see.append(item)
+ if isinstance(item[-1], str):
+ if "New in CSIT" in item[-1]:
+ tbl_new.append(item)
+ elif "See footnote" in item[-1]:
+ tbl_see.append(item)
else:
tbl_delta.append(item)