From 9ad7bec7ed8268599d7101704189d26a6214e203 Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Sun, 3 Dec 2023 02:32:10 -0500 Subject: [PATCH] Minor tweaks --- auto_editor/analyze.py | 1 + auto_editor/formats/fcp7.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/auto_editor/analyze.py b/auto_editor/analyze.py index efee02f610..a2515f2964 100644 --- a/auto_editor/analyze.py +++ b/auto_editor/analyze.py @@ -469,6 +469,7 @@ def pixeldiff(self, s: int) -> NDArray[np.uint64]: for frame in container.decode(stream): prev_image = image + assert frame.time is not None index = int(frame.time * self.tb) self.bar.tick(index) diff --git a/auto_editor/formats/fcp7.py b/auto_editor/formats/fcp7.py index 0cebd808b8..c5fd24daa2 100644 --- a/auto_editor/formats/fcp7.py +++ b/auto_editor/formats/fcp7.py @@ -13,8 +13,6 @@ from .utils import Validator, make_tracks_dir, show if TYPE_CHECKING: - pass - from auto_editor.utils.log import Log """