fix typing

This commit is contained in:
Zeecka
2026-01-14 22:04:49 +01:00
parent 3545d626e9
commit 5bad706340
+2 -2
View File
@@ -56,7 +56,7 @@ class ColorRemappingAnalyzer(SubprocessAnalyzer):
return remapped_img
def get_results(self, _: Optional[str] = None) -> dict[str, Any]:
def get_results(self, password: Optional[str] = None) -> dict[str, Any]:
"""Analyze an image submission using color remapping."""
img = Image.open(self.input_img)
converted = False
@@ -66,7 +66,7 @@ class ColorRemappingAnalyzer(SubprocessAnalyzer):
converted = True
img_np_tmp = np.array(img)
img_np, _ = self._normalize_image(img_np_tmp)
img_np, _channels = self._normalize_image(img_np_tmp)
image_json = []