From 71f51af41c5c76ef7c27a8070008a05892c989b1 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 30 Jan 2014 11:22:53 +0100 Subject: [PATCH] minor fix status --- telecaster/models.py | 1 + telecaster/views.py | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/telecaster/models.py b/telecaster/models.py index ce5bb32..eb1a801 100644 --- a/telecaster/models.py +++ b/telecaster/models.py @@ -265,3 +265,4 @@ class Station(Model): self.deefuzzer_stop() self.save() + diff --git a/telecaster/views.py b/telecaster/views.py index c3ed741..f392107 100644 --- a/telecaster/views.py +++ b/telecaster/views.py @@ -43,9 +43,6 @@ def get_host(request): return host -status = Status() - - class Status(object): interfaces = ['eth0', 'eth1', 'eth2', 'eth0-eth2', 'eth3', 'eth4', 'eth5', @@ -151,3 +148,5 @@ class StatusView(object): def stop(request): pass +status = Status() + -- 2.39.5