Added further work on reddit API and cronjobs

This commit is contained in:
2010-03-18 22:11:48 +00:00
parent b49f8edb9a
commit 65407b42dc
2 changed files with 38 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ class Inbox():
def _inbox_data(self):
if not hasattr(self, '__inbox_cache'):
inbox = json.load(self.opener.open(self.REDDIT_API_INBOX))['data']
inbox = json.load(self._opener.open(self.REDDIT_API_INBOX))['data']
self.__inbox_cache = []
for msg in inbox['children']: