Commits

Anonymous committed 6220852

Fixed a bug in the tag cloud tag

Comments (0)

Files changed (1)

articles/templatetags/article_tags.py

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