]> git.openstreetmap.org Git - osqa.git/commitdiff
Fix bug reported by Oscar Frias on http://jira.osqa.net/browse/OSQA-173
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 26 Apr 2010 10:11:42 +0000 (10:11 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 26 Apr 2010 10:11:42 +0000 (10:11 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@71 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/badges/base.py

index 6e5d14439a2db9c741f1493a4a416f698d2f21a8..63b6b0be1ec8c41c4de377a902fb186f6f1de93f 100644 (file)
@@ -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__)