diff --git a/src/notification/email_sender.py b/src/notification/email_sender.py index ea055ab..95edaa9 100644 --- a/src/notification/email_sender.py +++ b/src/notification/email_sender.py @@ -177,11 +177,11 @@ def convert_report_to_dataframe(self) -> pd.DataFrame: del_header = False for group, search_result in search["result"].items(): - if group is not "single_group": + if group != "single_group": del_single_group = False for _, term_results in search_result.items(): for dpt,_ in term_results.items(): - if dpt is not "single_department": + if dpt != "single_department": del_single_department = False # Drop empty or default columns