remove old debug puts

This commit is contained in:
Kyle Drake 2024-03-01 14:22:03 -06:00
parent 2ff8365651
commit 3751801796

View file

@ -108,9 +108,7 @@ get '/site/:username/stats' do
end end
if stats.length > MAX_STAT_POINTS if stats.length > MAX_STAT_POINTS
puts stats.length
stats = stats.select.with_index {|a, i| (i % (stats.length / MAX_STAT_POINTS.to_f).round) == 0} stats = stats.select.with_index {|a, i| (i % (stats.length / MAX_STAT_POINTS.to_f).round) == 0}
puts stats.length
end end
@stats[:stat_days] = stats @stats[:stat_days] = stats