From a89b8674954aaeaf076c76725c238e3ca49619cf Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 29 Jul 2022 20:55:17 +0300 Subject: [PATCH 1/1] Fix statistics script to use absolute links --- script/statistics | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/statistics b/script/statistics index 05ed637a8..9b27bf08f 100755 --- a/script/statistics +++ b/script/statistics @@ -36,7 +36,7 @@ begin Trace.where(:inserted => true).group(:user_id).order("sum_size DESC").limit(50).sum(:size).each do |user, count| display_name = User.find(user).display_name.gsub("@", " at ").gsub(".", " dot ") - puts "#{display_name}#{count}" + puts "#{display_name}#{count}" end puts "" @@ -75,7 +75,7 @@ begin else display_name = User.find(column[0]).display_name.gsub("@", " at ").gsub(".", " dot ") count = column[1] - puts "#{count} #{display_name}" + puts "#{count} #{display_name}" end end puts "" -- 2.39.5