Skip to content

Commit

Permalink
Merge pull request #158 from elliot-100/157-attendancepy-example-scri…
Browse files Browse the repository at this point in the history
…pt-exist-with-error-if-from-or-to-params-are-used

Fix: attendance.py example script exits with error if --from or --to params are used
  • Loading branch information
elliot-100 authored Oct 20, 2024
2 parents 47e67a6 + b4ad938 commit 01dbe74
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 01dbe74

Please sign in to comment.