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 3d5f7de commit 9c88283Copy full SHA for 9c88283
stage.py
@@ -269,9 +269,7 @@ def from_bmp16(cls, filename):
269
@classmethod
270
def from_image(cls, filename):
271
"""Read the bank from an image file."""
272
- if filename.lower().endswith(".gif"):
273
- image = GIF16(filename)
274
- elif filename.lower().endswith(".bmp"):
+ if filename.lower().endswith(".bmp"):
275
image = BMP16(filename)
276
elif filename.lower().endswith(".png"):
277
image = PNG16(filename)
0 commit comments