Skip to content

Commit 37e23a8

Browse files
author
Matt Land
committed
error msg
1 parent c710a8d commit 37e23a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adafruit_imageload/pnm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ def load(file, header, *, bitmap=None, palette=None):
101101

102102
return ppm_binary.load(file, pnm_header[0], pnm_header[1], bitmap=bitmap, palette=palette)
103103

104-
raise RuntimeError("Unsupported image format")
104+
raise RuntimeError("Unsupported image format {}".format(magic_number))

0 commit comments

Comments
 (0)