Initialize Pillow inside ConverterBase __init__
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -81,10 +81,6 @@ class IteratorIO(object):
|
||||
|
||||
|
||||
class Python(ConverterBase):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(Python, self).__init__(*args, **kwargs)
|
||||
Image.init()
|
||||
|
||||
def convert(self, *args, **kwargs):
|
||||
super(Python, self).convert(*args, **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user