From 4dad28bf42a9f9ca1e25d8617f8393d62e4494cf Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Wed, 20 Nov 2024 23:45:29 -0500 Subject: [PATCH] Fix --- auto_editor/__main__.py | 2 +- auto_editor/ffwrapper.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/auto_editor/__main__.py b/auto_editor/__main__.py index 3e34a8064..3eebdebe7 100755 --- a/auto_editor/__main__.py +++ b/auto_editor/__main__.py @@ -8,7 +8,6 @@ import auto_editor from auto_editor.edit import edit_media -from auto_editor.ffwrapper import FFmpeg from auto_editor.utils.func import get_stdout from auto_editor.utils.log import Log from auto_editor.utils.types import ( @@ -262,6 +261,7 @@ def get_domain(url: str) -> str: else: output_format = args.output_format + cmd = [] if download_format is not None: cmd.extend(["-f", download_format]) diff --git a/auto_editor/ffwrapper.py b/auto_editor/ffwrapper.py index c8c91f88f..1e3e9f3ed 100644 --- a/auto_editor/ffwrapper.py +++ b/auto_editor/ffwrapper.py @@ -3,8 +3,6 @@ from dataclasses import dataclass from fractions import Fraction from pathlib import Path -from shutil import which -from subprocess import PIPE, Popen import av