summaryrefslogtreecommitdiff
path: root/sublab_project/sublab_monitor
diff options
context:
space:
mode:
Diffstat (limited to 'sublab_project/sublab_monitor')
-rw-r--r--sublab_project/sublab_monitor/tasks.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sublab_project/sublab_monitor/tasks.py b/sublab_project/sublab_monitor/tasks.py
index 20f8ad8..681ce5f 100644
--- a/sublab_project/sublab_monitor/tasks.py
+++ b/sublab_project/sublab_monitor/tasks.py
@@ -22,10 +22,6 @@ class NetworkStatus(PeriodicTask):
run_every = timedelta(minutes=2)
ignore_result = True
- def __init__(self, *args, **kwargs):
- PeriodicTask.__init__(self, *args, **kwargs)
-
-
@staticmethod
def host_alive(host):
rc = subprocess.call(['ping', '-c', '2', '-W', '1', host])