fix commands.main to force-render thumbs if asked to
authorTero Marttila <terom@fixme.fi>
Sun, 14 Jun 2009 17:20:03 +0300
changeset 113 3e0bbacc917e
parent 112 e990b7a54d40
child 114 4096f8a7e63c
fix commands.main to force-render thumbs if asked to
degal/commands/main.py
--- a/degal/commands/main.py	Sun Jun 14 17:19:41 2009 +0300
+++ b/degal/commands/main.py	Sun Jun 14 17:20:03 2009 +0300
@@ -34,7 +34,7 @@
         ctx.log_info("%s", image)
         
         # only test if not already filtered for update
-        if for_update or image.stale() :
+        if for_update or ctx.config.force_thumb or image.stale() :
             # render output thumbs
             render_image_thumbs(image)