aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-mirrors
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mga-mirrors')
-rwxr-xr-xmodules/mga-mirrors/files/check_mirrors_status2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status
index 027457d9..80d0f8b7 100755
--- a/modules/mga-mirrors/files/check_mirrors_status
+++ b/modules/mga-mirrors/files/check_mirrors_status
@@ -100,7 +100,7 @@ def format_age(ref_time, time)
return " <td class='broken'>X</td>" unless time
diff = ref_time - time
- cls = nil
+ cls = 'broken'
if diff == 0 then
cls = 'ok'
elsif diff < 0.5 then