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 44421d9 commit 380665cCopy full SHA for 380665c
IPython/core/display.py
@@ -1023,7 +1023,7 @@ def __init__(
1023
format = self._FMT_PNG
1024
elif data[8:12] == _WEBP:
1025
format = self._FMT_WEBP
1026
- elif data[:6] == self._GIF1 or data[:6] == self._GIF2:
+ elif data[:6] == _GIF1 or data[:6] == _GIF2:
1027
format = self._FMT_GIF
1028
1029
# failed to detect format, default png
0 commit comments