From 8192fe025db1c2c0b0da71482d88a9b3f0037016 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 13 May 2018 02:34:01 +0200 Subject: [PATCH] getmedia: right import path to which --- lib/svtplay_dl/utils/getmedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/utils/getmedia.py b/lib/svtplay_dl/utils/getmedia.py index 7882a02..41cd2df 100644 --- a/lib/svtplay_dl/utils/getmedia.py +++ b/lib/svtplay_dl/utils/getmedia.py @@ -87,7 +87,7 @@ def get_one_media(stream, config): if not filename(stream): return if config.get("merge_subtitle"): - from svtplay_dl.utils import which + from svtplay_dl.utils.proc import which if not which('ffmpeg'): log.error("--merge-subtitle needs ffmpeg. Please install ffmpeg.") log.info("https://ffmpeg.org/download.html")