one more handler typo

This commit is contained in:
Vishvananda Ishaya
2010-06-24 04:11:55 +01:00
committed by andy
parent 316435cce0
commit 9526e1b3f1
+1 -1
View File
@@ -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()