-
Notifications
You must be signed in to change notification settings - Fork 15
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
TypeError: unsupported operand type #8
Comments
oops. Should be |
as this: |
Yes exactly. Madly busy atm: if you PR that I'll merge it. Otherwise I'll get at the codebase in a few days. This is where YADC suffers from the lack of a decent testsuite: that's the kind of typo which really should be been caught earlier... |
Note that I was not quite right: subtract = elapsed.seconds if elapsed else 0
return max(self.period * 60 - subtract, 0) The first line works out how much to subtract to take into account the runtime of the last run, ignoring The solution above ( |
nice one - thank you |
error-2022-02-21_19-37-15.txt
The text was updated successfully, but these errors were encountered: