parent
7ab1b46029
commit
e60993e42d
|
@ -51,7 +51,7 @@ class Thumbnailer:
|
||||||
self._closed = False
|
self._closed = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.image = Image.open(input_path, formats=["jpeg", "gif", "png"])
|
self.image = Image.open(input_path)
|
||||||
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