Skip to content

Commit

Permalink
Fix: attendance.py example script exits with error if --from or --to …
Browse files Browse the repository at this point in the history
…params are used
  • Loading branch information
elliot-100 committed Oct 20, 2024
1 parent 47e67a6 commit b4ad938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attendance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b4ad938

Please sign in to comment.