*** empty log message ***
[booh] / lib / booh / booh-lib.rb
index e5a39660dbfa17e7cbfb370d8ee1663ef744cbca..5a01ab5fde64b88ed6d7f035a295770e798fd653 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..