*** empty log message ***
authorgc <gc>
Sun, 24 Feb 2008 21:13:04 +0000 (21:13 +0000)
committergc <gc>
Sun, 24 Feb 2008 21:13:04 +0000 (21:13 +0000)
lib/booh/booh-lib.rb

index e5a3966..5a01ab5 100644 (file)
@@ -175,7 +175,6 @@ module Booh
         #- /usr/lib/gdk-pixbuf/loaders/libpixbufloader-xbm.so
         #- /usr/lib/gdk-pixbuf/loaders/libpixbufloader-xpm.so
         if entry =~ /\.(bmp|gif|ico|jpg|jpe|png|pnm|tif|xbm|xpm)$/i && entry !~ /['"\[\]]/
-        if entry =~ /\.(jpg|jpeg|jpe|gif|bmp|png)$/i && entry !~ /['"\[\]]/
             return 'image'
         elsif !$ignore_videos && entry =~ /\.(mov|avi|mpg|mpeg|mpe|wmv|asx|3gp|mp4)$/i && entry !~ /['"\[\]]/
             #- might consider using file magic later..