Skip to content

Commit

Permalink
replace comparing operator
Browse files Browse the repository at this point in the history
  • Loading branch information
edulauer committed Aug 30, 2024
1 parent e4a453b commit a270aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/notification/email_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a270aa5

Please sign in to comment.