one more handler typo
This commit is contained in:
@@ -307,7 +307,7 @@ class ImageHandler(BaseRequestHandler):
|
||||
image_id = self.get_argument("image_id", u"")
|
||||
image_object = image.Image(image_id)
|
||||
|
||||
if not image.is_authorized(self.context):
|
||||
if not image_object.is_authorized(self.context):
|
||||
raise web.HTTPError(403)
|
||||
|
||||
image_object.delete()
|
||||
|
||||
Reference in New Issue
Block a user