diff options
| author | Brianna Rainey | 2022-05-05 18:23:31 -0700 |
|---|---|---|
| committer | GitHub | 2022-05-05 18:23:31 -0700 |
| commit | e8c87ecf6dc3b2fab08bdb0799986fd5b60cbc91 (patch) | |
| tree | ad755a4f71a51575862fcf2953a36528278bb7a0 /src/toolkit/ffmpeg.py | |
| parent | c9cb08d8c5438ae25a430e22cbcbdfdf8aa17c88 (diff) | |
| parent | 8f169eef453a7c19ed6b785aeae5e1c0780cc00f (diff) | |
Merge pull request #76 from djfun/remove-python-threads
Remove Python threads during video export
Diffstat (limited to 'src/toolkit/ffmpeg.py')
| -rw-r--r-- | src/toolkit/ffmpeg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolkit/ffmpeg.py b/src/toolkit/ffmpeg.py index 1649670..b8e54cb 100644 --- a/src/toolkit/ffmpeg.py +++ b/src/toolkit/ffmpeg.py @@ -392,7 +392,7 @@ def getAudioDuration(filename): fileInfo = checkOutput(command, stderr=subprocess.STDOUT) except subprocess.CalledProcessError as ex: fileInfo = ex.output - except FileNotFoundError: + except (FileNotFoundError, PermissionError): # ffmpeg is possibly not installed return False |
