Add some better error detection into the Reddit API, also state exactly what the arguments are

This commit is contained in:
2010-11-08 14:41:52 +00:00
parent 3de75acfc4
commit 9a0764c7d7
2 changed files with 2 additions and 2 deletions

View File

@@ -4,6 +4,6 @@ import settings
@task(ignore_result=True)
def send_reddit_message(to, subject, message):
ib = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWORD)
ib = Inbox(username=settings.REDDIT_USER, password=settings.REDDIT_PASSWORD)
ib.send(to, subject, message)