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

getmedia: right import path to which

This commit is contained in:
Johan Andersson 2018-05-13 02:34:01 +02:00
parent 836084f1fb
commit 8192fe025d

View File

@ -87,7 +87,7 @@ def get_one_media(stream, config):
if not filename(stream): if not filename(stream):
return return
if config.get("merge_subtitle"): if config.get("merge_subtitle"):
from svtplay_dl.utils import which from svtplay_dl.utils.proc import which
if not which('ffmpeg'): if not which('ffmpeg'):
log.error("--merge-subtitle needs ffmpeg. Please install ffmpeg.") log.error("--merge-subtitle needs ffmpeg. Please install ffmpeg.")
log.info("https://ffmpeg.org/download.html") log.info("https://ffmpeg.org/download.html")