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.
This PR simply adds a check for empty strings in
calculate_end_frame()
instead of only NoneIf 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.