(20260309) Added caching to avoid unchanged attendance calls and added logic to check for custom overtime thresholds.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user