moar tweaks/small bugfixes
authorterom
Thu, 31 Jan 2008 19:19:05 +0000
changeset 30 b1d5c32ab771
parent 29 990300aa8010
child 31 09776792a91c
moar tweaks/small bugfixes
lib/folder.py
lib/log.py
--- a/lib/folder.py	Thu Jan 31 19:16:02 2008 +0000
+++ b/lib/folder.py	Thu Jan 31 19:19:05 2008 +0000
@@ -312,7 +312,7 @@
         # render images
         image_count = len(self.sorted_images)
         for i, img in enumerate(self.images.itervalues()) :
-            log.next("[%-4d/%4d] %s", i, image_count, img.name)
+            log.next("[%-4d/%4d] %s", i + 1, image_count, img.name)
 
             img.render()
         
--- a/lib/log.py	Thu Jan 31 19:16:02 2008 +0000
+++ b/lib/log.py	Thu Jan 31 19:19:05 2008 +0000
@@ -58,9 +58,9 @@
                 print "%sd %s" % (" "*g.out_depth, segment)
                 g.out_depth += 1
 
-            if g.node :
-                print "%sf %s" % (" "*g.out_depth, g.node)
-                g.node = None
+        if g.node :
+            print "%sf %s" % (" "*g.out_depth, g.node)
+            g.node = None
         
         if wait :
             print "%s - %s..." % (" "*g.out_depth, message % args),