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:
parent
c5d52ec202
commit
d44a838298
@ -28,7 +28,7 @@ class postprocess:
|
|||||||
break
|
break
|
||||||
if self.detect is None and platform.system() == "Windows":
|
if self.detect is None and platform.system() == "Windows":
|
||||||
path = pathlib.Path(sys.executable).parent / "ffmpeg.exe"
|
path = pathlib.Path(sys.executable).parent / "ffmpeg.exe"
|
||||||
if path.is_file:
|
if os.path.isfile(path):
|
||||||
self.detect = path
|
self.detect = path
|
||||||
|
|
||||||
def merge(self):
|
def merge(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user