(20260309) Added caching to avoid unchanged attendance calls and added logic to check for custom overtime thresholds.

This commit is contained in:
2026-03-09 20:24:24 +05:30
parent 6952bf73f5
commit 172cfdc92d
7 changed files with 92 additions and 26 deletions
+4
View File
@@ -838,6 +838,8 @@ class CosecWeb:
:return: The path to the downloaded report file.
"""
self._printer("MUSTER ROLL")
# Empty out the past downloads:
for file_name in files.list_files(
self.downloads_dir,
@@ -1027,6 +1029,8 @@ class CosecWeb:
:return: The path to the downloaded report file.
"""
self._printer("IN-OUT SUMMARY")
# Apply the timezone if given:
if timezone:
from_date = date_time.to_timezone(from_date, timezone)