parent
8b5d0c286c
commit
e8c1bb0e3c
11 changed files with 137 additions and 12 deletions
|
@ -39,12 +39,11 @@ DEPENDENCIES = {
|
|||
}
|
||||
|
||||
|
||||
|
||||
def check_dependencies() -> Dict[str, bool]:
|
||||
ret = collections.defaultdict(bool) # type: Dict[str, bool]
|
||||
|
||||
ret['Exiftool'] = True if exiftool._get_exiftool_path() else False
|
||||
ret['Ffmpeg'] = True if video._get_ffmpeg_path() else False
|
||||
ret['Exiftool'] = bool(exiftool._get_exiftool_path())
|
||||
ret['Ffmpeg'] = bool(video._get_ffmpeg_path())
|
||||
|
||||
for key, value in DEPENDENCIES.items():
|
||||
ret[value] = True
|
||||
|
@ -55,6 +54,7 @@ def check_dependencies() -> Dict[str, bool]:
|
|||
|
||||
return ret
|
||||
|
||||
|
||||
@enum.unique
|
||||
class UnknownMemberPolicy(enum.Enum):
|
||||
ABORT = 'abort'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue