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 uptime calculation #1386

Merged
merged 2 commits into from
Feb 24, 2022
Merged

Fix uptime calculation #1386

merged 2 commits into from
Feb 24, 2022

Conversation

CompactCow
Copy link
Contributor

The old version was testing impossible conditions, and was also rounding values from "//" which will always be integers. If the numbers are intended to be rounded rather than floored, a single slash should be used.

The old version was testing impossible conditions, and was also rounding values from "//" which will always be integers. If the numbers are intended to be rounded rather than floored, a single slash should be used.
@LDarki
Copy link
Collaborator

LDarki commented Feb 24, 2022

Hi, ty for the pull-request.

You can add the same to the PC_Miner.py ?
After that i'll merge the pr.

@LDarki
Copy link
Collaborator

LDarki commented Feb 24, 2022

Thanks.

@LDarki LDarki merged commit 6542240 into revoxhere:master Feb 24, 2022
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