summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2013-03-25 19:07:01 +0100
committerChristian Franke <nobody@nowhere.ws>2013-03-25 19:07:01 +0100
commit88c6b4ed85fbe23caf42dc69db03f79c3e60cd2e (patch)
tree7012f7fa4ac63996283b076b76ce93753eb47d38 /scripts
parentff4405de1f639d9b5f4f1ce3923e017f4c4978c9 (diff)
Update status backend
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/status_script.py2
-rw-r--r--scripts/sub_api.py2
2 files changed, 2 insertions, 2 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 }