From d44a838298e20e8432f46d1531e0da881a24ca03 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sat, 30 Oct 2021 14:24:44 +0200 Subject: [PATCH] postprocess: use a different function to detect ffmpeg.exe the previous function said it was a file but there was none --- lib/svtplay_dl/postprocess/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/postprocess/__init__.py b/lib/svtplay_dl/postprocess/__init__.py index 803047a..4a457d7 100644 --- a/lib/svtplay_dl/postprocess/__init__.py +++ b/lib/svtplay_dl/postprocess/__init__.py @@ -28,7 +28,7 @@ class postprocess: break if self.detect is None and platform.system() == "Windows": path = pathlib.Path(sys.executable).parent / "ffmpeg.exe" - if path.is_file: + if os.path.isfile(path): self.detect = path def merge(self):