summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2014-08-25 16:54:23 +0700
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2014-08-25 16:54:23 +0700
commit2d19eaef5c2b68cabbf05cc12480ed8703df8cd7 (patch)
treef6d06173fd0cd7956c652197f625eaa57a6216a8
parentb7e426827451625efa4a27911fef21a13fb8b8a9 (diff)
downloadaskbot-2d19eaef5c2b68cabbf05cc12480ed8703df8cd7.tar.gz
askbot-2d19eaef5c2b68cabbf05cc12480ed8703df8cd7.tar.bz2
askbot-2d19eaef5c2b68cabbf05cc12480ed8703df8cd7.zip
a minor bug fix
-rw-r--r--askbot/management/commands/askbot_award_badges.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/askbot/management/commands/askbot_award_badges.py b/askbot/management/commands/askbot_award_badges.py
index 265eafce..b8a618f4 100644
--- a/askbot/management/commands/askbot_award_badges.py
+++ b/askbot/management/commands/askbot_award_badges.py
@@ -32,5 +32,6 @@ class Command(NoArgsCommand):
context_object=vote.voted_post,
timestamp=now
)
+ awarded_count += int(awarded)
print 'Awarded %d badges' % awarded_count