mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Applications now send a email and reddit notification message when the status is changed.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user