Merge pull request #1249 from leonelcamara/patch-1

imageutils.py missing comma bug
This commit is contained in:
mdipierro
2016-03-25 18:06:56 -05:00

View File

@@ -27,7 +27,7 @@ from gluon import current
class RESIZE(object):
def __init__(self, nx=160, ny=80, quality=100, padding = False
def __init__(self, nx=160, ny=80, quality=100, padding = False,
error_message=' image resize'):
(self.nx, self.ny, self.quality, self.error_message, self.padding) = (
nx, ny, quality, error_message, padding)