Skip to content

Commit 4600bec

Browse files
committed
fix typing issue
1 parent 545f413 commit 4600bec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/codeinterpreterapi/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_image(self) -> Any:
6464

6565
# Convert image to RGB if it's not
6666
if img.mode not in ("RGB", "L"): # L is for grayscale images
67-
img = img.convert("RGB")
67+
img = img.convert("RGB") # type: ignore
6868

6969
return img
7070

0 commit comments

Comments
 (0)