##// END OF EJS Templates
CLN: remove self. from the _GIF1 and _GIF2 globals
Wes Turner -
Show More
@@ -1023,7 +1023,7 b' class Image(DisplayObject):'
1023 format = self._FMT_PNG
1023 format = self._FMT_PNG
1024 elif data[8:12] == _WEBP:
1024 elif data[8:12] == _WEBP:
1025 format = self._FMT_WEBP
1025 format = self._FMT_WEBP
1026 elif data[:6] == self._GIF1 or data[:6] == self._GIF2:
1026 elif data[:6] == _GIF1 or data[:6] == _GIF2:
1027 format = self._FMT_GIF
1027 format = self._FMT_GIF
1028
1028
1029 # failed to detect format, default png
1029 # failed to detect format, default png
General Comments 0
You need to be logged in to leave comments. Login now