From 146bad7ba12fbbea5cddb12236d99415281ce08f Mon Sep 17 00:00:00 2001 From: q Date: Wed, 2 May 2012 22:41:00 +0300 Subject: [PATCH] webfile matching is too greedy --- Qalbum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Qalbum.py b/Qalbum.py index 0c0ef8e..bdcf4c6 100755 --- a/Qalbum.py +++ b/Qalbum.py @@ -28,7 +28,7 @@ from datetime import datetime __version__='1.8' -webfilesearch=re.compile('.*index.html$|.*gallerystyle.css$|.*galleryscript.js$|.*descriptions.csv$|.*info.txt$|\..*',re.I) +webfilesearch=re.compile('.*index.html$|gallerystyle.css$|galleryscript.js$|descriptions.csv$|^info.txt$|\..*',re.I) imagesearch=re.compile('.*\.jpg$|.*\.jpeg$|.*\.gif$|.*\.png$|.*\.svg$|.*\.pdf$',re.I) vectorsearch=re.compile('.*\.svg$|.*\.pdf$',re.I) #gifsearch=re.compile('.*gif$',re.I)