(20260210) Made a faster way to loop through the attendance records in one go to compute the work done.

This commit is contained in:
2026-02-10 13:34:04 +05:30
parent 2484c86d95
commit 3b9621f80e
3 changed files with 222 additions and 121 deletions
+2 -1
View File
@@ -154,7 +154,7 @@ async def yesterday_cron(
# If something goes wrong in the COSEC step:
except Exception as exception:
err_printer(exception)
raise
if test_mode: raise
# Log out of TCAOFF:
success = await tcaoff_client.logout()
@@ -164,6 +164,7 @@ async def yesterday_cron(
except Exception as exception:
err_printer(exception)
await tcaoff_client.logout()
if test_mode: raise
# ---------------------------------------------------------------------------------------------------------------------