diff --git a/files/routes/jinja2.py b/files/routes/jinja2.py index de88d384f..85f772dc5 100644 --- a/files/routes/jinja2.py +++ b/files/routes/jinja2.py @@ -121,5 +121,5 @@ def inject_constants(): "BIO_FRIENDS_ENEMIES_LENGTH_LIMIT":BIO_FRIENDS_ENEMIES_LENGTH_LIMIT, "IMMUNE_TO_AWARDS": IMMUNE_TO_AWARDS, "SITE_FULL_IMAGES": SITE_FULL_IMAGES, "IS_FISTMAS":IS_FISTMAS, "IS_HOMOWEEN":IS_HOMOWEEN, "IS_DKD":IS_DKD, "IS_EVENT":IS_EVENT, "IS_BIRTHGAY":IS_BIRTHGAY, - "CHUD_PHRASES":CHUD_PHRASES, + "CHUD_PHRASES":CHUD_PHRASES, "hasattr":hasattr, } diff --git a/files/templates/header.html b/files/templates/header.html index 67fab2993..433ba35c0 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -7,7 +7,7 @@ {% if not err %}
{% if SITE_NAME == 'rDrama' %} - {% if range(1,5) | random == 1 and not (v and v.truescore > 1000) %} + {% if not hasattr(g, "loggedin_counter") or (range(1,5) | random == 1 and not (v and v.truescore > 1000)) %} {% include "journoid_banner.html" %} {% else %} {% if IS_DKD() %}