Skip to content

Commit 2827c30

Browse files
committed
fix: fix black formatting
1 parent 0e33c24 commit 2827c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openfoodfacts/ml/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def convert_image_to_array(image: Image.Image) -> np.ndarray:
1313
if image.mode != "RGB":
1414
image = image.convert("RGB")
1515

16-
(im_width, im_height) = image.size
16+
im_width, im_height = image.size
1717

1818
return np.array(image.getdata(), dtype=np.uint8).reshape((im_height, im_width, 3))
1919

0 commit comments

Comments
 (0)