From fa9fd98b958696c92a60ebf539a936cc7cc32080 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 24 May 2011 11:39:40 +0100 Subject: [PATCH] Add the api_update under the exception checker --- app/reddit/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/reddit/tasks.py b/app/reddit/tasks.py index 6b86c45..134b0ea 100644 --- a/app/reddit/tasks.py +++ b/app/reddit/tasks.py @@ -55,10 +55,10 @@ def update_account(username): try: acc = RedditAccount.objects.get(pk=username) + acc.api_update() except RedditAccount.DoesNotExist: pass else: - acc.api_update acc.save()