forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann 2023-07-02 02:50:41 +03:00
parent ca375b72ca
commit 4841ab1864
1 changed files with 36 additions and 34 deletions

View File

@ -6,7 +6,7 @@
<nav class="shadow-md fixed-top"> <nav class="shadow-md fixed-top">
<div class="srd"> <div class="srd">
{% if SITE_NAME == 'rDrama' %} {% if SITE_NAME == 'rDrama' %}
{% if err or not hasattr(g, "loggedin_counter") or (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" %} {% include "journoid_banner.html" %}
{% else %} {% else %}
{% if IS_DKD() %} {% if IS_DKD() %}
@ -32,42 +32,44 @@
"having their chimneys stuffed by Santa", "having their chimneys stuffed by Santa",
] -%} ] -%}
{% else %} {% else %}
{%- set VISITORS_HERE_FLAVOR = [ {%- set VISITORS_HERE_FLAVOR = [
"incels currently stalking roasties", "incels currently stalking roasties",
'gooners currently edging to <img loading="lazy" src="/e/marseycumjar3.webp" style="height:1.5em!important">', 'gooners currently edging to <img loading="lazy" src="/e/marseycumjar3.webp" style="height:1.5em!important">',
"fanboys currently obsessing over Carp", "fanboys currently obsessing over Carp",
"NEETs currently LDARmaxxing", "NEETs currently LDARmaxxing",
"valid women currently dilating", "valid women currently dilating",
"negholes currently being pozzed", "negholes currently being pozzed",
"bussies currently on standby", "bussies currently on standby",
"gamers currently harassing women", "gamers currently harassing women",
"Soros shills currently plotting mayocide", "Soros shills currently plotting mayocide",
"furries currently yiffing", "furries currently yiffing",
"incels currently harassing women", "incels currently harassing women",
"chuds currently agendaposting", "chuds currently agendaposting",
"coomers currently gooning", "coomers currently gooning",
"bacons currently narwhaling", "bacons currently narwhaling",
"well-behaved rule-following goodthinkers", "well-behaved rule-following goodthinkers",
"throwing shade right now", "throwing shade right now",
"currently petting Marseys", "currently petting Marseys",
"of Dr. Oaken's agents monitoring hate", "of Dr. Oaken's agents monitoring hate",
"capybara fetishists loudly beating off", "capybara fetishists loudly beating off",
"gamers harassing women", "gamers harassing women",
"hanging out on rDrama with their tulpas", "hanging out on rDrama with their tulpas",
"furries trading marsuits", "furries trading marsuits",
"white knights simping for blownout gussy", "white knights simping for blownout gussy",
"Carp alts currently online", "Carp alts currently online",
"biofoids making everything about them", "biofoids making everything about them",
"Mossad operatives watching you", "Mossad operatives watching you",
"frantically alt-tabbing before Mom sees", "frantically alt-tabbing before Mom sees",
"days until you die, you can't prevent it", "days until you die, you can't prevent it",
"cases of rectal prolapse reported today", "cases of rectal prolapse reported today",
] -%} ] -%}
{% endif %} {% endif %}
{{g.loggedin_counter+g.loggedout_counter}} {{VISITORS_HERE_FLAVOR|random|safe}} ({{g.loggedin_counter}} logged in) {{g.loggedin_counter+g.loggedout_counter}} {{VISITORS_HERE_FLAVOR|random|safe}} ({{g.loggedin_counter}} logged in)
{% endif %} {% endif %}
{% else %} {% elif hasattr(g, "loggedin_counter") %}
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in) {{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
{% else %}
Don't make the mistakes seen here.
{% endif %} {% endif %}
</div> </div>