From 8c1529b6c9c941715f6a9c9f1c7e7987d0556de6 Mon Sep 17 00:00:00 2001 From: Zeecka Date: Sat, 3 Jan 2026 00:51:58 +0100 Subject: [PATCH] black --- aperisolve/analyzers/image_resize.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aperisolve/analyzers/image_resize.py b/aperisolve/analyzers/image_resize.py index c853350..b19447e 100644 --- a/aperisolve/analyzers/image_resize.py +++ b/aperisolve/analyzers/image_resize.py @@ -136,9 +136,7 @@ class ResizeAnalyzer(SubprocessAnalyzer): saved_img_urls = [] # No match found - if not (db_matches := self._lookup_crc()) and not ( - db_matches := self._search_height_crc() - ): + if not (db_matches := self._lookup_crc()) and not (db_matches := self._search_height_crc()): return { "status": "error", "error": "Failure: No matching dimensions found.", @@ -160,7 +158,6 @@ class ResizeAnalyzer(SubprocessAnalyzer): } - def analyze_image_resize(input_img: Path, output_dir: Path) -> None: """Analyze an image submission using ResizeAnalyzer.""" analyzer = ResizeAnalyzer(input_img, output_dir)