From 6957578b3263a3d3b2b4330056bf16791f9da1f5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 21 Dec 2020 23:09:00 +0000 Subject: [PATCH] Missing parameter --- daemon.py | 3 ++- webapp_moderation.py | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index d20f5ae73..7d661b16f 100644 --- a/daemon.py +++ b/daemon.py @@ -8347,7 +8347,8 @@ class PubServer(BaseHTTPRequestHandler): self.server.iconsAsButtons, self.server.rssIconAtTop, self.server.publishButtonAtTop, - authorized, moderationActionStr) + authorized, moderationActionStr, + self.server.themeName) msg = msg.encode('utf-8') self._set_headers('text/html', len(msg), cookie, callingDomain) diff --git a/webapp_moderation.py b/webapp_moderation.py index 51e38e3dd..6dad2b3a4 100644 --- a/webapp_moderation.py +++ b/webapp_moderation.py @@ -36,7 +36,8 @@ def htmlModeration(cssCache: {}, defaultTimeline: str, iconsAsButtons: bool, rssIconAtTop: bool, publishButtonAtTop: bool, - authorized: bool, moderationActionStr: str) -> str: + authorized: bool, moderationActionStr: str, + theme: str) -> str: """Show the moderation feed as html This is what you see when selecting the "mod" timeline """ @@ -50,7 +51,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str, newswire, False, False, positiveVoting, showPublishAsIcon, fullWidthTimelineButtonHeader, iconsAsButtons, rssIconAtTop, publishButtonAtTop, - authorized, moderationActionStr) + authorized, moderationActionStr, theme) def htmlAccountInfo(cssCache: {}, translate: {},