Browse Source

Cleanup

pull/140/head
Pēteris Caune 7 years ago
parent
commit
27ebb4fde5
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      hc/front/views.py

+ 0
- 4
hc/front/views.py View File

@ -5,7 +5,6 @@ import json
from croniter import croniter from croniter import croniter
from django.conf import settings from django.conf import settings
from django.contrib import messages from django.contrib import messages
from django.contrib.auth.models import User
from django.contrib.auth.decorators import login_required from django.contrib.auth.decorators import login_required
from django.core import signing from django.core import signing
from django.db.models import Count from django.db.models import Count
@ -43,9 +42,6 @@ def my_checks(request):
for check in checks: for check in checks:
status = check.get_status() status = check.get_status()
for tag in check.tags_list(): for tag in check.tags_list():
if tag == "":
continue
counter[tag] += 1 counter[tag] += 1
if status == "down": if status == "down":


Loading…
Cancel
Save