1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

ytdl_hook: fix typo in unexpected error message

This commit is contained in:
Derek Guenther 2020-07-31 17:09:56 -07:00 committed by avih
parent 10e11834e5
commit b238897614

View File

@ -761,7 +761,7 @@ function run_ytdl_hook(url)
if result.error_string and result.error_string == "init" then
err = err .. "not found or not enough permissions"
elseif not result.killed_by_us then
err = err .. "unexpected error ocurred"
err = err .. "unexpected error occurred"
else
err = string.format("%s returned '%d'", err, es)
end