change Image.update to unconditionally update the thumb/preview
authorTero Marttila <terom@fixme.fi>
Thu, 11 Jun 2009 21:40:12 +0300
changeset 91 17ae33501289
parent 90 606bae04f79b
child 92 eb50b4f7812d
change Image.update to unconditionally update the thumb/preview
degal/image.py
--- a/degal/image.py	Thu Jun 11 21:39:35 2009 +0300
+++ b/degal/image.py	Thu Jun 11 21:40:12 2009 +0300
@@ -101,9 +101,6 @@
             Updates this Image's thumb/preview
         """
         
-        if self.preview.stale() :
-            self.preview.update()
+        self.preview.update()
+        self.thumb.update()
 
-        if self.thumb.stale() :
-            self.thumb.update()
-