summaryrefslogtreecommitdiff
path: root/subbot.py
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2013-06-19 19:50:32 +0200
committerChristian Franke <nobody@nowhere.ws>2013-06-19 19:50:32 +0200
commit2debbb0e92d49ce43677e66794a76ca7749e8fc4 (patch)
treed99bc92f2e2ce456ab6a9a64de0e47b5fa443ed5 /subbot.py
parentacd74a58e05388b95a14e64a592b3badc21b2a21 (diff)
subbot: update to new json url :/
Diffstat (limited to 'subbot.py')
-rw-r--r--subbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subbot.py b/subbot.py
index 7e90c56..876efbd 100644
--- a/subbot.py
+++ b/subbot.py
@@ -86,7 +86,7 @@ class TestBot(irc.bot.SingleServerIRCBot):
def refresh(self):
curtime = time.time()
try:
- with contextlib.closing(urllib2.urlopen('http://argonaut.local.sublab.org/subcan.json')) as json_stream:
+ with contextlib.closing(urllib2.urlopen('http://beaglebone.local.sublab.org/')) as json_stream:
sdata = json.load(json_stream)
door = sdata[u'door.lock']