From b4ad938bbe7023c0c47a19a2dff804af2f670686 Mon Sep 17 00:00:00 2001 From: elliot-100 <3186037+elliot-100@users.noreply.github.com> Date: Sun, 20 Oct 2024 11:31:39 +0100 Subject: [PATCH] Fix: attendance.py example script exits with error if --from or --to params are used --- attendance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attendance.py b/attendance.py index c24427f..7bd078a 100644 --- a/attendance.py +++ b/attendance.py @@ -32,7 +32,7 @@ async def main(): s = spond.Spond(username=username, password=password) - events = await s.get_events(args.f, args.t) + events = await s.get_events(min_start=args.f, max_start=args.t) if not os.path.exists("./exports"): os.makedirs("./exports")