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

Convert number from config file to timedelta #809

Merged

Conversation

MarkZH
Copy link
Collaborator

@MarkZH MarkZH commented Aug 13, 2023

This number from the configuration file was not converted to a datetime.timedelta in seconds before being used to create a Timer.

Also, deleted duplicate lines.

Closes #808

This number from the configuration file was not converted to a
datetime.timedelta in seconds before being used to create a Timer.

Also, deleted duplicate lines.
@AttackingOrDefending AttackingOrDefending merged commit 56e0cd7 into lichess-bot-devs:master Aug 13, 2023
15 checks passed
@MarkZH MarkZH deleted the timedelta-bug-fix branch August 14, 2023 09:29
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.

TypeError: '>=' not supported between instances of 'datetime.timedelta' and 'int'
2 participants