Commits

codekoala  committed 6220852

Fixed a bug in the tag cloud tag

  • Participants
  • Parent commits ba340a7

Comments (0)

Files changed (1)

File articles/templatetags/article_tags.py

         MAX_WEIGHT = 5
         tags = Tag.objects.all()
 
-        if len(tags):
+        if len(tags) == 0:
             # go no further
             return {}