This commit is contained in:
Zeecka
2026-01-03 00:51:58 +01:00
parent 66211c29e6
commit 8c1529b6c9
+1 -4
View File
@@ -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)