From 27ebb4fde5b755452dba2d0a06625fbf20d14e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 4 Sep 2017 16:15:36 +0300 Subject: [PATCH] Cleanup --- hc/front/views.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hc/front/views.py b/hc/front/views.py index 69437eb8..3e3a231b 100644 --- a/hc/front/views.py +++ b/hc/front/views.py @@ -5,7 +5,6 @@ import json from croniter import croniter from django.conf import settings from django.contrib import messages -from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required from django.core import signing from django.db.models import Count @@ -43,9 +42,6 @@ def my_checks(request): for check in checks: status = check.get_status() for tag in check.tags_list(): - if tag == "": - continue - counter[tag] += 1 if status == "down":