forked from rDrama/rDrama
master
parent
01f417a277
commit
f3b24c948c
|
@ -262,8 +262,7 @@ def get_domain(s):
|
||||||
|
|
||||||
domain_list = tuple(list(domain_list))
|
domain_list = tuple(list(domain_list))
|
||||||
|
|
||||||
doms = [x for x in g.db.query(BannedDomain).options(lazyload('*')).filter(
|
doms = [x for x in g.db.query(BannedDomain).options(lazyload('*')).filter(BannedDomain.domain.in_(domain_list)).all()]
|
||||||
BannedDomain.domain.in_(domain_list)).all()]
|
|
||||||
|
|
||||||
if not doms:
|
if not doms:
|
||||||
return None
|
return None
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% if render_replies %}
|
{% if render_replies %}
|
||||||
{% if level<7 %}
|
{% if level<10 %}
|
||||||
<div id="replies-of-{{c.id}}" class="">
|
<div id="replies-of-{{c.id}}" class="">
|
||||||
{% set standalone=False %}
|
{% set standalone=False %}
|
||||||
{% for reply in replies %}
|
{% for reply in replies %}
|
||||||
|
@ -456,7 +456,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% if render_replies %}
|
{% if render_replies %}
|
||||||
{% if level<7 %}
|
{% if level<10 %}
|
||||||
<div id="replies-of-{{c.id}}">
|
<div id="replies-of-{{c.id}}">
|
||||||
{% for reply in replies %}
|
{% for reply in replies %}
|
||||||
{{single_comment(reply, level=level+1)}}
|
{{single_comment(reply, level=level+1)}}
|
||||||
|
|
Loading…
Reference in New Issue