1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 15:14:14 +01:00

postprocess: use a different function to detect ffmpeg.exe

the previous function said it was a file but there was none
This commit is contained in:
Johan Andersson 2021-10-30 14:24:44 +02:00
parent c5d52ec202
commit d44a838298

View File

@ -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):