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

Minor arithemtic enhancements #2374

Merged
merged 1 commit into from
Mar 21, 2022
Merged

Minor arithemtic enhancements #2374

merged 1 commit into from
Mar 21, 2022

Conversation

MichaIng
Copy link
Member

Use floor division instead of regular division follow by int() conversion. Also remove redundant parenthesis.

Taken from #2258 by @Mictronics.

Use floor division instead of regular division follow by int() conversion. Also remove redundant parenthesis.

Taken from #2258 by @Mictronics.

Signed-off-by: MichaIng <micha@dietpi.com>
@MichaIng MichaIng changed the title Minor arithemtic enhanements Minor arithemtic enhancements Mar 20, 2022
motioneye/utils/dtconv.py Show resolved Hide resolved
@MichaIng MichaIng merged commit b7a59b1 into dev Mar 21, 2022
@MichaIng MichaIng deleted the arithmetic branch March 21, 2022 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants