From 2debbb0e92d49ce43677e66794a76ca7749e8fc4 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Wed, 19 Jun 2013 19:50:32 +0200 Subject: subbot: update to new json url :/ --- subbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- cgit v1.2.1