diff --git a/files/assets/images/WPD/banners/1.webp b/files/assets/images/WPD/banners/1.webp
new file mode 100644
index 000000000..04a3b2779
Binary files /dev/null and b/files/assets/images/WPD/banners/1.webp differ
diff --git a/files/assets/images/emojis/marseybiden2.webp b/files/assets/images/emojis/marseybiden2.webp
index 75af7c5a5..6af46c35e 100644
Binary files a/files/assets/images/emojis/marseybiden2.webp and b/files/assets/images/emojis/marseybiden2.webp differ
diff --git a/files/helpers/const.py b/files/helpers/const.py
index 91ac0bd07..56441f46e 100644
--- a/files/helpers/const.py
+++ b/files/helpers/const.py
@@ -295,6 +295,9 @@ elif SITE == 'watchpeopledie.co':
PERMS['HOLE_CREATE'] = 2
+ SIDEBAR_THREAD = 5403
+ BANNER_THREAD = 9869
+
HOLE_NAME = 'flair'
HOLE_STYLE_FLAIR = True
HOLE_REQUIRED = True
@@ -310,7 +313,6 @@ elif SITE == 'watchpeopledie.co':
GIFT_NOTIF_ID = CARP_ID
- SIDEBAR_THREAD = 5403
else: # localhost or testing environment implied
FEATURES['PRONOUNS'] = True
FEATURES['HOUSES'] = True
diff --git a/files/helpers/roulette.py b/files/helpers/roulette.py
index c06923b2b..6feccd733 100644
--- a/files/helpers/roulette.py
+++ b/files/helpers/roulette.py
@@ -202,6 +202,9 @@ def spin_roulette_wheel():
game.active = False
g.db.add(game)
+ # Commit early when dirty because of long-running tasks after roulette
+ g.db.commit()
+
def determine_roulette_winners(number, bets):
winners = []
diff --git a/files/templates/default.html b/files/templates/default.html
index 3a40b03d5..878bb7c0a 100644
--- a/files/templates/default.html
+++ b/files/templates/default.html
@@ -279,14 +279,16 @@
{% endif %}
+ {% elif SITE_NAME == 'WPD' %}
+ {% if v %}
+ {% set path = "assets/images/" + SITE_NAME + "/banners" %}
+ {% set banner = "/" + path + "/" + listdir('files/' + path)|random() + '?v=1' %}
+ {% else %}
+ {% set banner = 'cached.webp' | asset_siteimg %}
+ {% endif %}
+
{% else %}
- {% if SITE_NAME == 'WPD' %}
- {% if v %}
- {% set banner = 'banner.webp' | asset_siteimg %}
- {% else %}
- {% set banner = 'cached.webp' | asset_siteimg %}
- {% endif %}
- {% elif SITE_NAME == 'PCM' %}
+ {% if SITE_NAME == 'PCM' %}
{% set banner = 'banners/great-value-v2.webp' | asset_siteimg %}
{% else %}
{% set banner = 'banner.webp' | asset_siteimg %}