Fix ArtResizer.local property (fix #983)

This commit is contained in:
Adrian Sampson 2014-09-27 11:29:38 -07:00
parent a29b5fd750
commit 582dbf6b34

View file

@ -161,9 +161,9 @@ class ArtResizer(object):
@property
def local(self):
"""A boolean indicating whether the resizing method is performed
locally (i.e., PIL or IMAGEMAGICK).
locally (i.e., PIL or ImageMagick).
"""
return self.method in BACKEND_FUNCS
return self.method[0] in BACKEND_FUNCS
def _can_compare(self):
"""A boolean indicating whether image comparison is available"""