From ab1d4399f4ad9f4a488c29e489a99bb660abd80d Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 4 Oct 2023 18:50:13 +0300 Subject: [PATCH] show all nsfw content on WPD by default --- files/routes/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index 8d3fd1df5..2c59d9aaa 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -121,7 +121,7 @@ def get_logged_in_user(): if v and session.get("event_music") and not IS_EVENT(): session.pop("event_music") - g.show_over_18 = (v and v.over_18) or session.get('over_18_cookies', 0) >= int(time.time()) + g.show_over_18 = SITE_NAME == 'WPD' or (v and v.over_18) or session.get('over_18_cookies', 0) >= int(time.time()) return v