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