Missing parameter

This commit is contained in:
bashrc committed 2020-12-21 23:09:00 +00:00
1 parent a3cbc28c1e
commit 6957578b32
2 files changed
+5 -3

No files matched your search

+2 -1
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)
+3 -2
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: {},