Temporarily disable webp thumbnailing
parent
1e0b96f1a4
commit
93248076c2
|
@ -51,7 +51,7 @@ class Thumbnailer:
|
||||||
self._closed = False
|
self._closed = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.image = Image.open(input_path)
|
self.image = Image.open(input_path, formats=["jpeg", "gif", "png"])
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
# If an error occurs opening the image, a thumbnail won't be able to
|
# If an error occurs opening the image, a thumbnail won't be able to
|
||||||
# be generated.
|
# be generated.
|
||||||
|
|
Loading…
Reference in New Issue