summaryrefslogtreecommitdiff
path: root/mirrors/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors/views.py')
-rw-r--r--mirrors/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/views.py b/mirrors/views.py
index 65fa0123..9c01bc22 100644
--- a/mirrors/views.py
+++ b/mirrors/views.py
@@ -274,7 +274,7 @@ def status(request, tier=None):
error_logs = get_mirror_errors()
if tier is not None:
error_logs = [log for log in error_logs
- if log['url__mirror__tier'] == tier]
+ if log['url'].mirror.tier == tier]
context = status_info.copy()
context.update({