diff --git a/files/file_list.py b/files/file_list.py index ebdfcbf..bb5e015 100755 --- a/files/file_list.py +++ b/files/file_list.py @@ -16,7 +16,7 @@ import io import datetime SQLFILE = "list_of_files.sqlite" -IMGMATCH = re.compile(".*\.jpg$|.*\.jpeg$|.*\.png$", re.I) +IMGMATCH = re.compile(r".*\.jpg$|.*\.jpeg$|.*\.png$", re.I) BADDIRS = [] MINSIZE = 0 # MIME=magic.open(magic.MAGIC_NONE)