Skip to content

Commit 9c88283

Browse files
committed
Completely remove gif support
1 parent 3d5f7de commit 9c88283

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stage.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,7 @@ def from_bmp16(cls, filename):
269269
@classmethod
270270
def from_image(cls, filename):
271271
"""Read the bank from an image file."""
272-
if filename.lower().endswith(".gif"):
273-
image = GIF16(filename)
274-
elif filename.lower().endswith(".bmp"):
272+
if filename.lower().endswith(".bmp"):
275273
image = BMP16(filename)
276274
elif filename.lower().endswith(".png"):
277275
image = PNG16(filename)

0 commit comments

Comments
 (0)