(20251128) Solved the 'NaN' bug in muster roll caching in the cron script.

This commit is contained in:
2025-11-28 11:32:16 +05:30
parent 81cca3a8a0
commit 53007b7421
+1 -1
View File
@@ -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: