fix typing
This commit is contained in:
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user