Applications now send a email and reddit notification message when the status is changed.

This commit is contained in:
2010-04-20 22:10:31 +01:00
parent a2a32f398a
commit b8eaf202d7
6 changed files with 46 additions and 12 deletions

View File

@@ -83,14 +83,11 @@ class Inbox():
if not self.login_cookie:
raise NotLoggedIn
print self.login_cookie
data = { 'to': to,
'subject': subject,
'text': 'text',
'text': text,
'uh': self.modhash,
'thing_id': '' }
url = "%s" % (self.REDDIT_API_COMPOSE)
jsondoc = json.load(self._url_request(url, data))
print jsondoc