aboutsummaryrefslogtreecommitdiff
path: root/server/opensubtitles.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/opensubtitles.lua')
-rw-r--r--server/opensubtitles.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/opensubtitles.lua b/server/opensubtitles.lua
index 6e96703..328e958 100644
--- a/server/opensubtitles.lua
+++ b/server/opensubtitles.lua
@@ -140,7 +140,7 @@ local search = function (path, out)
ohash = util.opensubtitles_hash(path)
link = search_ohash(ohash)
if link then
- return curl.zip_to_local_file(link, nil, out, retries)
+ return curl.zip_link_to_file(link, nil, out, retries)
end
end