From 91e80527fc63140dc0c0a7afebe74f37494abd68 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 1 Sep 2018 15:07:01 +0200 Subject: Add archlinux to the CI --- libmat2/images.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmat2/images.py') diff --git a/libmat2/images.py b/libmat2/images.py index faa93a4..837f015 100644 --- a/libmat2/images.py +++ b/libmat2/images.py @@ -13,7 +13,7 @@ import gi gi.require_version('GdkPixbuf', '2.0') from gi.repository import GdkPixbuf -from . import abstract +from . import abstract, _get_exiftool_path # Make pyflakes happy assert Set @@ -40,7 +40,7 @@ class _ImageParser(abstract.AbstractParser): self.filename to prevent parameter injections, so we need to take care of this. """ - fun = lambda f: subprocess.check_output(['/usr/bin/exiftool', '-json', f]) + fun = lambda f: subprocess.check_output([_get_exiftool_path(), '-json', f]) if re.search('^[a-z0-9/]', self.filename) is None: out = self.__handle_problematic_filename(self.filename, fun) else: -- cgit v1.3