Skip to content
Permalink
Browse files

Fix comments on journals and characters

Mistake from #425. Sorry!
  • Loading branch information...
charmander committed Feb 16, 2019
1 parent c6455b4 commit ff19989e62b43dc85189925b2eec0c6415c255e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 weasyl/comment.py
@@ -24,7 +24,7 @@ def thread(query, reverse_top_level):
by_parent = {None: (-1, [])}

for row in query:
parentid = row[1]
parentid = row[1] or None # journalcomment and charcomment use 0 instead of NULL
t = by_parent.get(parentid)

if t is None:

0 comments on commit ff19989

Please sign in to comment.
You can’t perform that action at this time.