Set download directory on every script invokation
This is necessary when no download directory is set, which is the
default. Fixes issue introduced in commit 45783639
.
This commit is contained in:
parent
ca9399a200
commit
9cee9e21ad
|
@ -85,9 +85,9 @@ end
|
|||
|
||||
python, python_error = get_python_binary()
|
||||
read_options(options)
|
||||
set_down_dir(options)
|
||||
|
||||
function search_subs()
|
||||
set_down_dir(options)
|
||||
video = mp.get_property_native("media-title", "")
|
||||
if python ~= nil then
|
||||
ret = utils.subprocess({ args = { python, options.subselect_path, video, options.down_dir, options.sub_language }})
|
||||
|
|
Loading…
Reference in New Issue