From 3ff94dc17bd612348ff7ae392bffc3aa1dda5b49 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 5 Jul 2011 18:44:52 +0530 Subject: [PATCH] try to fix missing crops --- edgware/editor/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/editor/models.py b/edgware/editor/models.py index 826ba37..ed9e396 100644 --- a/edgware/editor/models.py +++ b/edgware/editor/models.py @@ -731,7 +731,7 @@ class ImageBox(models.Model): try: f = open(path) except: - self.crop(self.x1, self, y1, self.x2, self.y2, self.width, self.height) + self.crop(self.crop_x1, self.crop_y1, self.crop_x2, self.crop_y2, self.width, self.height) f = open(path) size = str(int(self.width * m)) + "x" + str(int(self.height * m))