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

MHPY-20 Allow zero start and end frames #14

Merged
merged 2 commits into from
Jul 13, 2023
Merged

Conversation

spacid
Copy link
Contributor

@spacid spacid commented Jul 12, 2023

It should be possible to fill in zero frames. In this context the truthy check incorrectly labels zero frames as false and thus not accepting the zero value. Explicitly check if the frames are not None instead.

It should be possible to fill in zero frames. In this context the truthy
check incorrectly labels zero frames as false and thus not accepting the
zero value. Explicitly check if the frames are not None instead.
@spacid spacid requested a review from maartends July 12, 2023 20:22
Add an extra test checking that mixed frames/timecode values are not allowed.
More specifically, use a frames value of 0 as this a valid value for frames.
@spacid spacid merged commit 1ac5a9c into main Jul 13, 2023
@spacid spacid deleted the mhpy-20-allow-zero-frames branch July 13, 2023 10:37
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