summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmat2/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmat2/__init__.py b/libmat2/__init__.py
index 6067861..bf4e813 100644
--- a/libmat2/__init__.py
+++ b/libmat2/__init__.py
@@ -35,16 +35,16 @@ DEPENDENCIES = {
35 'mutagen': 'Mutagen', 35 'mutagen': 'Mutagen',
36 } 36 }
37 37
38def _get_exiftool_path() -> Optional[str]: 38def _get_exiftool_path() -> Optional[str]: # pragma: no cover
39 exiftool_path = '/usr/bin/exiftool' 39 exiftool_path = '/usr/bin/exiftool'
40 if os.path.isfile(exiftool_path): 40 if os.path.isfile(exiftool_path):
41 if os.access(exiftool_path, os.X_OK): # pragma: no cover 41 if os.access(exiftool_path, os.X_OK):
42 return exiftool_path 42 return exiftool_path
43 43
44 # ArchLinux 44 # ArchLinux
45 exiftool_path = '/usr/bin/vendor_perl/exiftool' 45 exiftool_path = '/usr/bin/vendor_perl/exiftool'
46 if os.path.isfile(exiftool_path): 46 if os.path.isfile(exiftool_path):
47 if os.access(exiftool_path, os.X_OK): # pragma: no cover 47 if os.access(exiftool_path, os.X_OK):
48 return exiftool_path 48 return exiftool_path
49 49
50 return None 50 return None