From 88c6b4ed85fbe23caf42dc69db03f79c3e60cd2e Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 25 Mar 2013 19:07:01 +0100 Subject: Update status backend --- scripts/status_script.py | 2 +- scripts/sub_api.py | 2 +- template/template/template.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/status_script.py b/scripts/status_script.py index 8881735..abafd8a 100755 --- a/scripts/status_script.py +++ b/scripts/status_script.py @@ -12,7 +12,7 @@ class SublabStatus(object): if self.json is not None: return self.json - with contextlib.closing(urllib.urlopen('http://taifun.local.sublab.org/subcan.json')) as response: + with contextlib.closing(urllib.urlopen('http://argonaut.local.sublab.org/subcan.json')) as response: self.json = json.load(response) return self.json diff --git a/scripts/sub_api.py b/scripts/sub_api.py index 8d1eb32..69f0737 100644 --- a/scripts/sub_api.py +++ b/scripts/sub_api.py @@ -10,7 +10,7 @@ import os.path base_path = os.path.realpath(os.path.dirname(__file__)) base_path = os.path.join(base_path, '..') json_template = os.path.join(base_path, "template", "template.spaceapi.json") -input_url = "http://taifun.local.sublab.org/subcan.json" +input_url = "http://argonaut.local.sublab.org/subcan.json" output_file = os.path.join(base_path, "public", "status.json") status_dict = { "open" : True , "closed" : False } diff --git a/template/template/template.html b/template/template/template.html index f08e881..1990642 100644 --- a/template/template/template.html +++ b/template/template/template.html @@ -118,14 +118,14 @@ Git Online  Offline - +
-- cgit v1.2.1