Skip to content
New issue

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

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

Already on GitHub? # to your account

db: fix display of "-a" (last pass/fail) output #303

Merged
merged 2 commits into from
Apr 3, 2024
Merged

db: fix display of "-a" (last pass/fail) output #303

merged 2 commits into from
Apr 3, 2024

Conversation

wwade
Copy link
Owner

@wwade wwade commented Apr 3, 2024

It was using float division instead of integer, and so was always showing zeroes for time deltas less than 1 hour.

wwade added 2 commits April 3, 2024 15:10
- logging debug() takes an exc_info bool.
- chardet.detect() can return None, so handle that case.
It was using float division instead of integer, and so was always
showing zeroes for time deltas less than 1 hour.
@wwade wwade enabled auto-merge April 3, 2024 22:12
@wwade wwade merged commit 2da1779 into main Apr 3, 2024
9 checks passed
@wwade wwade deleted the fixJobAgo branch April 3, 2024 22:12
@wwade wwade changed the title utils: clean up pyright errors in utils.py db: fix display of "-a" (last pass/fail) output Apr 3, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant