From ef15261aab48bed31228e04663f4bc2ff9df04aa Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 25 Apr 2023 18:23:46 +0200 Subject: [PATCH] remove useless condition --- files/templates/events/DKD/music.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/events/DKD/music.html b/files/templates/events/DKD/music.html index 50611c2b5..e4966a563 100644 --- a/files/templates/events/DKD/music.html +++ b/files/templates/events/DKD/music.html @@ -1,4 +1,4 @@ -{% if not (SITE_NAME == 'WPD' and not v) and not (v and v.poor) and not (sub and sub.name == 'music') %} +{% if not (v and v.poor) and not (sub and sub.name == 'music') %} {% if not song %} {% set path = "assets/events/DKD/music" %} {% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=2' %}