Commit 3e72511d authored by Elia Ponzio's avatar Elia Ponzio
Browse files


parent 7579f982
......@@ -57,7 +57,7 @@ def check_http(host, timeout, httpcode, **kwargs):
# pass
def check_delta(responsebool, return_value, parent_task):
"""Gets data from a check and compares it to the current state in the database. If a delta occurs, sends notifications"""
if responsebool:
delta = Delta.objects.filter(task=parent_task).last()
if not delta:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment