Skip to content

Commit

Permalink
fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Nov 7, 2024
1 parent 545f413 commit 4600bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codeinterpreterapi/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_image(self) -> Any:

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

return img

Expand Down

0 comments on commit 4600bec

Please sign in to comment.