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:
parent
10e11834e5
commit
b238897614
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user