1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 07:12:39 +00:00

options.lua: call msg.debug after resolving 'identifier'

This commit is contained in:
Otto Modinos 2014-09-16 18:19:22 +03:00 committed by wm4
parent b41ece5ad4
commit 33a63d8e6e

View File

@ -31,11 +31,10 @@ end
function read_options(options, identifier) function read_options(options, identifier)
msg.debug("reading options for " .. identifier)
if identifier == nil then if identifier == nil then
identifier = mp.get_script_name() identifier = mp.get_script_name()
end end
msg.debug("reading options for " .. identifier)
-- read config file -- read config file
local conffilename = "lua-settings/" .. identifier .. ".conf" local conffilename = "lua-settings/" .. identifier .. ".conf"