*** empty log message ***
[booh] / bin / booh
index 52a15b87284f7ad565716e3e80344c9e4dbd6959..fa02354346e0c997d03a6ca339405c5280440cf5 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -1139,7 +1139,7 @@ def add_thumbnail(autotable, filename, type, thumbnail_img, caption)
         #- remove out of sync images
         dest_img_base = build_full_dest_filename(filename).sub(/\.[^\.]+$/, '')
         for sizeobj in $images_size
-            for file in "#{dest_img_base}-#{sizeobj['fullscreen']}.jpg", "#{dest_img_base}-#{sizeobj['thumbnails']}.jpg"
+            for file in [ "#{dest_img_base}-#{sizeobj['fullscreen']}.jpg", "#{dest_img_base}-#{sizeobj['thumbnails']}.jpg" ]
                 if File.exists?(file)
                     File.delete(file)
                 end