diff --git a/views.py b/views.py index 0b689f0..cee4c36 100644 --- a/views.py +++ b/views.py @@ -16,13 +16,13 @@ def buildCommentList(cThread): current = cThread.root_comment if not current.hidden: cList = [ current ] - while current.next: - current = current.next - if not current.hidden: - if cList: - cList.append(current) - else: - cList = [ current ] + while current.next: + current = current.next + if not current.hidden: + if cList: + cList.append(current) + else: + cList = [ current ] return cList @xframe_options_sameorigin