##// END OF EJS Templates
Manually backport #10818: change if -> elif
Thomas Kluyver -
Show More
@@ -990,7 +990,7 b' class Image(DisplayObject):'
990 990 if ext is not None:
991 991 if ext == u'jpg' or ext == u'jpeg':
992 992 format = self._FMT_JPEG
993 if ext == u'png':
993 elif ext == u'png':
994 994 format = self._FMT_PNG
995 995 else:
996 996 format = ext.lower()
General Comments 0
You need to be logged in to leave comments. Login now