stats: only print graphs when ASS tags are good

This commit is contained in:
Julian 2016-07-17 18:46:59 +09:00 committed by wm4
parent 4ee669e4db
commit 9b439e9453
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ local function append_perfdata(s)
local rsuffix, psuffix, usuffix
if o.plot_graphs and timer:is_enabled() then
if o.plot_graphs and o.ass_formatting and timer:is_enabled() then
local max = {1, 1, 1}
for e = 1, plen do
if plast[1][e] and plast[1][e] > max[1] then max[1] = plast[1][e] end