From fef5b60a4d5fed553cec2da5f4a3473465c96fd7 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 21 May 2013 20:44:08 +0200 Subject: Set recent json url for status json --- subbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subbot.py') diff --git a/subbot.py b/subbot.py index 8dc095f..78f3f6b 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://taifun.local.sublab.org/subcan.json')) as json_stream: + with contextlib.closing(urllib2.urlopen('http://argonaut.local.sublab.org/subcan.json')) as json_stream: sdata = json.load(json_stream) door = sdata[u'door.lock'] -- cgit v1.2.1