Missing parameter

main
Bob Mottram 2020-12-21 23:09:00 +00:00
parent a3cbc28c1e
commit 6957578b32
2 changed files with 5 additions and 3 deletions

View File

@ -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)

View File

@ -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: {},