diff --git a/hr/views.py b/hr/views.py index 7ab21e1..bd6429b 100644 --- a/hr/views.py +++ b/hr/views.py @@ -31,7 +31,7 @@ def send_message(application, message_type, note=None): if len(application.user.redditaccount_set.all()) > 0: from reddit.api import Inbox, LoginError try: - ib = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWD) + ib = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWORD) except LoginError: pass else: diff --git a/reddit/cron.py b/reddit/cron.py index 0b4f150..f80e5c5 100644 --- a/reddit/cron.py +++ b/reddit/cron.py @@ -64,7 +64,7 @@ class ProcessValidations(): return self.__logger def job(self, args): - inbox = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWD) + inbox = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWORD) for msg in inbox: if not msg.was_comment: diff --git a/settings.py b/settings.py index 3d55fd1..cc4ee90 100755 --- a/settings.py +++ b/settings.py @@ -124,7 +124,7 @@ SLICE = os.path.join(os.path.dirname(os.path.abspath( __file__ )),'Murmur.ice') REDDIT_USER = 'DredditVerification' # Password for validatio account -REDDIT_PASSWD = '' +REDDIT_PASSWORD = '' ### HR Settings