fix conditional

pull/22/head
justcool393 2022-11-29 14:07:27 -06:00
parent b46e957e75
commit 2b5a4de8ad
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{% if not (v and v.poor) and (v or v.event_music) and not (sub and sub.name == 'music') %}
{% if not (v and v.poor) and (not v or v.event_music) and not (sub and sub.name == 'music') %}
{% if not song %}
{% set path = "assets/media/event/music" %}
{% set song = "/" + path + "/" + listdir('files/' + path)|random() + '?v=45' %}