diff --git a/cron/reports.py b/cron/reports.py index aed063b..6c635d3 100644 --- a/cron/reports.py +++ b/cron/reports.py @@ -152,7 +152,7 @@ def get_muster_roll(cosec_creds: dict): "Grade Name", "Branch Name", "Department Name", "Direct Reporting", "Level-1" ]] - report_data.where(report_data.notna(), None) + report_data = report_data.where(report_data.notna(), None) report_data = report_data.to_dict(orient = "records") # Save the data to a JSON file: