degal/commands/main.py
changeset 118 60b126ff0b74
parent 117 a2e4562deaab
child 119 e7855eefb4c7
--- a/degal/commands/main.py	Sun Jun 14 20:05:11 2009 +0300
+++ b/degal/commands/main.py	Sun Jun 14 22:52:07 2009 +0300
@@ -33,9 +33,9 @@
     """
         Render the given series of images
     """
+
+    # XXX: handle this thumb-update/html-update stuff better
     
-    # XXX: this breaks force_html
-
     # render the thumbnails concurrently
     for image in ctx.concurrent.execute(
         task(update_image_thumbs, image) 
@@ -49,7 +49,8 @@
         # log image path
         ctx.log_info("%s", image)
         
-        # render HTML
+    # then render all HTML
+    for image in images :
         render_image_html(ctx, image)
 
         # release large objects that are not needed anymore