diff --git a/files/helpers/get.py b/files/helpers/get.py index 3af2ed446b..613cfbde50 100644 --- a/files/helpers/get.py +++ b/files/helpers/get.py @@ -262,8 +262,7 @@ def get_domain(s): domain_list = tuple(list(domain_list)) - doms = [x for x in g.db.query(BannedDomain).options(lazyload('*')).filter( - BannedDomain.domain.in_(domain_list)).all()] + doms = [x for x in g.db.query(BannedDomain).options(lazyload('*')).filter(BannedDomain.domain.in_(domain_list)).all()] if not doms: return None diff --git a/files/templates/comments.html b/files/templates/comments.html index 78f2b9857e..83375077fe 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -121,7 +121,7 @@ {% if render_replies %} - {% if level<7 %} + {% if level<10 %}
{% set standalone=False %} {% for reply in replies %} @@ -456,7 +456,7 @@ {% if render_replies %} - {% if level<7 %} + {% if level<10 %}
{% for reply in replies %} {{single_comment(reply, level=level+1)}}