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

Catch empty strings in calculate_end_frame() #40

Conversation

EmberLightVFX
Copy link
Contributor

This PR simply adds a check for empty strings in calculate_end_frame() instead of only None

If the Kitsu task have the metadata frame_in or frame_out but it doesn't have a set value in Kitsu it will return an empty string.
Without this fix the sync will catch an error as frame_start will be found but you can't combine an empty string with nb_frames.

@martastain martastain merged commit 7560b02 into ynput:develop Apr 2, 2024
@EmberLightVFX EmberLightVFX deleted the enhancement/catch_empty_str_when_calc_end_frame branch April 2, 2024 09:03
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