diff options
author | Christian Franke <nobody@nowhere.ws> | 2013-06-19 19:50:32 +0200 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2013-06-19 19:50:32 +0200 |
commit | 2debbb0e92d49ce43677e66794a76ca7749e8fc4 (patch) | |
tree | d99bc92f2e2ce456ab6a9a64de0e47b5fa443ed5 | |
parent | acd74a58e05388b95a14e64a592b3badc21b2a21 (diff) |
subbot: update to new json url :/
-rw-r--r-- | subbot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'] |