From f3b24c948c9bb2672dd74dd217c65531b808881a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 2 Oct 2021 21:07:30 +0200 Subject: [PATCH] df --- files/helpers/get.py | 3 +-- files/templates/comments.html | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/files/helpers/get.py b/files/helpers/get.py index 3af2ed446..613cfbde5 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 78f2b9857..83375077f 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)}}