Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scheduler.once() trigger_time default value #141

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

unode
Copy link
Collaborator

@unode unode commented Oct 15, 2020

The code reads like trigger_time should be now() but due to the call to datetime.now() happening in the function signature the argument is always the time when the mmpy_bot.scheduler module was first loaded.

@codeclimate
Copy link

codeclimate bot commented Oct 15, 2020

Code Climate has analyzed commit 22dd237 and detected 0 issues on this pull request.

View more on Code Climate.

@attzonko attzonko merged commit 8cd5c38 into attzonko:master Oct 15, 2020
@unode unode deleted the fix-schedule-once branch August 14, 2021 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants