From: hernani Date: Mon, 26 Apr 2010 10:11:42 +0000 (+0000) Subject: Fix bug reported by Oscar Frias on http://jira.osqa.net/browse/OSQA-173 X-Git-Tag: live~1003 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/79cc7379207c83ef28c2a6d4bbd42016f40945a5 Fix bug reported by Oscar Frias on http://jira.osqa.net/browse/OSQA-173 git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@71 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/badges/base.py b/forum/badges/base.py index 6e5d144..63b6b0b 100644 --- a/forum/badges/base.py +++ b/forum/badges/base.py @@ -40,7 +40,7 @@ class AbstractBadge(object): try: badge = Badge.objects.get(slug=self.badge) except: - logging.log('Trying to award a badge not installed in the database.') + logging.log(1, 'Trying to award a badge not installed in the database.') return content_type = ContentType.objects.get_for_model(obj.__class__)