forked from MarseyWorld/MarseyWorld
fix 500 error
parent
ca375b72ca
commit
4841ab1864
|
@ -6,7 +6,7 @@
|
|||
<nav class="shadow-md fixed-top">
|
||||
<div class="srd">
|
||||
{% 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" %}
|
||||
{% else %}
|
||||
{% if IS_DKD() %}
|
||||
|
@ -66,8 +66,10 @@
|
|||
{% endif %}
|
||||
{{g.loggedin_counter+g.loggedout_counter}} {{VISITORS_HERE_FLAVOR|random|safe}} ({{g.loggedin_counter}} logged in)
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% elif hasattr(g, "loggedin_counter") %}
|
||||
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
|
||||
{% else %}
|
||||
Don't make the mistakes seen here.
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue