summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2018-06-10 00:43:38 +0200
committerjvoisin2018-06-10 00:43:38 +0200
commit3c56fa32375ff8df087d15e8649b661682bbb150 (patch)
tree3992d0c93ff654727b3a59d819742b53909e8fa0
parent9c7aa34f506d32564128741e855ea49e8e118211 (diff)
Improve a bit the performances wrt. image's metadata display
-rw-r--r--libmat2/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/images.py b/libmat2/images.py
index 0b85cde..03718e6 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 re.search('^[a-z0-9]', self.filename) is None: 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)