forked from MarseyWorld/MarseyWorld
fix 500 error
parent
784de237db
commit
0b4ead5f81
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{% if not err %}
|
||||
<div class="srd">
|
||||
{% 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() %}
|
||||
|
|
Loading…
Reference in New Issue