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)