From 907fc591ccba295abafbb99fa59e8764f712e34a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 1 Sep 2018 16:58:34 +0200 Subject: [PATCH] Bump the coverage back to 100% --- libmat2/__init__.py | 6 +++--- 1 file 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 = { 'mutagen': 'Mutagen', } -def _get_exiftool_path() -> Optional[str]: +def _get_exiftool_path() -> Optional[str]: # pragma: no cover exiftool_path = '/usr/bin/exiftool' if os.path.isfile(exiftool_path): - if os.access(exiftool_path, os.X_OK): # pragma: no cover + if os.access(exiftool_path, os.X_OK): return exiftool_path # ArchLinux exiftool_path = '/usr/bin/vendor_perl/exiftool' if os.path.isfile(exiftool_path): - if os.access(exiftool_path, os.X_OK): # pragma: no cover + if os.access(exiftool_path, os.X_OK): return exiftool_path return None