Fix lint.

This commit is contained in:
robin@ynput.io 2024-09-18 16:46:49 -04:00
parent b0b509d431
commit be2b8d5c60
3 changed files with 3 additions and 9 deletions

View file

@ -176,8 +176,6 @@ def _sequence_resize(source, length):
def get_media_range_with_retimes(otio_clip, handle_start, handle_end): def get_media_range_with_retimes(otio_clip, handle_start, handle_end):
source_range = otio_clip.source_range source_range = otio_clip.source_range
available_range = otio_clip.available_range() available_range = otio_clip.available_range()
source_range_rate = source_range.start_time.rate
available_range_rate = available_range.start_time.rate available_range_rate = available_range.start_time.rate
# Conform source range bounds to available range rate # Conform source range bounds to available range rate

View file

@ -74,9 +74,6 @@ class ExtractOTIOTrimmingVideo(publish.Extractor):
otio_range (opentime.TimeRange): range to trim to otio_range (opentime.TimeRange): range to trim to
""" """
# Not all hosts can import this module.
from ayon_core.pipeline.editorial import frames_to_seconds
# create path to destination # create path to destination
output_path = self._get_ffmpeg_output(input_file_path) output_path = self._get_ffmpeg_output(input_file_path)

View file

@ -1,5 +1,4 @@
import os import os
import pytest
import opentimelineio as otio import opentimelineio as otio