Fix warnings from Ruff and ffmpeg

This commit is contained in:
2025-02-10 20:41:14 +01:00
parent 1ad53240a1
commit 870187e1e4
8 changed files with 100 additions and 1191 deletions

View File

@ -11,8 +11,7 @@ def test_generate_html_for_videos() -> None:
domain: str = os.environ["SERVE_DOMAIN"]
# Remove trailing slash from domain
if domain.endswith("/"):
domain = domain[:-1]
domain = domain.removesuffix("/")
# Delete the old HTML file if it exists
if Path.exists(Path("Uploads/test_video.mp4.html")):