From 601ed15f202a4e0d853d34d0d5f21c7eea5f82df Mon Sep 17 00:00:00 2001 From: Jokob-sk Date: Mon, 12 Jun 2023 15:41:09 +1000 Subject: [PATCH] conf. variable fix & #247 --- pialert/reporting.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/pialert/reporting.py b/pialert/reporting.py index 53ab1bd6..d6c94c2c 100755 --- a/pialert/reporting.py +++ b/pialert/reporting.py @@ -64,8 +64,11 @@ def construct_notifications(db, sqlQuery, tableTitle, skipText = False, supplied if len(jsn["data"]) > 0: text = tableTitle + "\n---------\n" + # Convert a JSON into an HTML table html = convert(jsn, build_direction=build_direction, table_attributes=table_attributes) - html = format_table(html, "data", headerProps, tableTitle).replace('