mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
remove old debug puts
This commit is contained in:
parent
2ff8365651
commit
3751801796
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue