summaryrefslogtreecommitdiff
path: root/scripts/status_script.py
diff options
context:
space:
mode:
authorolf <olf@subsignal.org>2015-09-08 23:10:19 +0200
committerolf <olf@subsignal.org>2015-09-08 23:10:19 +0200
commit995cf5b0798c5a1230fabdebb6108a5fb15a7fca (patch)
tree57e7484614bb2e7fbeae9d6761dd0d6c36a1865f /scripts/status_script.py
parent49809754b4f648a94911b86e77e8a7f82f7592b4 (diff)
bug: removed test url
Diffstat (limited to 'scripts/status_script.py')
-rwxr-xr-xscripts/status_script.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/status_script.py b/scripts/status_script.py
index 5de27f6..1686069 100755
--- a/scripts/status_script.py
+++ b/scripts/status_script.py
@@ -73,8 +73,7 @@ class SublabStatus(object):
def fetch_state(self):
if not self.json :
try:
- with urlopen('http://192.168.2.214:9000') as response:
- #with contextlib.closing(urllib.urlopen('http://[2a02:238:f02a:9800:caa0:30ff:feb4:2185]/')) as response:
+ with urlopen('http://[2a02:238:f02a:9800:caa0:30ff:feb4:2185]/') as response:
self.json = json.loads(response.readall().decode('utf-8'))
except IOError:
with urlopen('http://beaglebone.local.sublab.org/') as response: