From 3c56fa32375ff8df087d15e8649b661682bbb150 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 10 Jun 2018 00:43:38 +0200 Subject: [PATCH] Improve a bit the performances wrt. image's metadata display --- libmat2/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): of this. """ fun = lambda f: subprocess.check_output(['/usr/bin/exiftool', '-json', f]) - if re.search('^[a-z0-9]', self.filename) is None: + if re.search('^[a-z0-9/]', self.filename) is None: out = self.__handle_problematic_filename(self.filename, fun) else: out = fun(self.filename)