summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmat2/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/images.py b/libmat2/images.py
index fe700d2..0b85cde 100644
--- a/libmat2/images.py
+++ b/libmat2/images.py
@@ -32,7 +32,7 @@ class __ImageParser(abstract.AbstractParser):
32 of this. 32 of this.
33 """ 33 """
34 fun = lambda f: subprocess.check_output(['/usr/bin/exiftool', '-json', f]) 34 fun = lambda f: subprocess.check_output(['/usr/bin/exiftool', '-json', f])
35 if not re.match('^[a-z0-9]', self.filename): 35 if re.search('^[a-z0-9]', self.filename) is None:
36 out = self.__handle_problematic_filename(self.filename, fun) 36 out = self.__handle_problematic_filename(self.filename, fun)
37 else: 37 else:
38 out = fun(self.filename) 38 out = fun(self.filename)