From 9652bde38d24e5da7d2a2400fabd3358e30f8433 Mon Sep 17 00:00:00 2001 From: vChavezB <47216966+vChavezB@users.noreply.github.com> Date: Sun, 11 Dec 2022 12:14:31 +0100 Subject: [PATCH 1/2] ignore pages that have callees for table modifications --- puncover_html.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/puncover_html.py b/puncover_html.py index 1d2134d..3e9290d 100644 --- a/puncover_html.py +++ b/puncover_html.py @@ -79,6 +79,10 @@ def add_table_class(old_html): return new_html def fix_sort_table(old_html): + callees_found = old_html.find("Callees") != -1 + # If it has callees its not a table that needs to be fixed + if callees_found: + return None new_html = add_table_class(old_html) if new_html is None: return None From 2310f890acbeb1a87284946c483f788ba8f6ce5e Mon Sep 17 00:00:00 2001 From: vChavezB <47216966+vChavezB@users.noreply.github.com> Date: Sun, 11 Dec 2022 12:22:25 +0100 Subject: [PATCH 2/2] changed comparison to