We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59811e5 commit 23b9c7bCopy full SHA for 23b9c7b
bash_kernel/display.py
@@ -103,7 +103,7 @@ def display_data_for_image(filename):
103
image = f.read()
104
_unlink_if_temporary(filename)
105
image_type = filetype.image_match(image).extension
106
- if image_type not in ("png", "jpeg", "gif", "webp"):
+ if image_type not in ("png", "jpg", "gif", "webp"):
107
raise ValueError("Not a valid image: %s" % image)
108
109
content = {
0 commit comments