diff --git a/reddit/cron.py b/reddit/cron.py index 9ef11a8..f5cc2fb 100644 --- a/reddit/cron.py +++ b/reddit/cron.py @@ -63,7 +63,7 @@ class ProcessValidations(): for msg in inbox: if not msg.was_comment and msg.new: try: - acc = RedditAccount.objects.get(username_iexact=msg.username) + acc = RedditAccount.objects.get(username__iexact=msg.author) if not acc.validated and msg.body == acc.user.username: acc.validated = True acc.save()