stats: fix oversight

this one slipped through my "tests"
This commit is contained in:
Julian 2015-07-05 21:52:37 +02:00 committed by wm4
parent 95b6bc31b0
commit ab8b6e3c16
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ end
function append_property(s, sec, prop, attr, excluded)
excluded = excluded or {[""] = true}
local ret = mp.get_property_osd(prop)
if excluded[ret] then
if not ret or excluded[ret] then
if o.debug then
print("No value for property: " .. prop)
end