Test authorized state

main
Bob Mottram 2020-05-18 13:04:05 +01:00
parent fa55703091
commit 3badf3ad57
1 changed files with 1 additions and 1 deletions

View File

@ -1295,7 +1295,7 @@ class PubServer(BaseHTTPRequestHandler):
if blogFilename and nickname: if blogFilename and nickname:
postJsonObject = loadJson(blogFilename) postJsonObject = loadJson(blogFilename)
if isBlogPost(postJsonObject): if isBlogPost(postJsonObject):
msg = htmlBlogPost(authorized, msg = htmlBlogPost(True,
self.server.baseDir, self.server.baseDir,
self.server.httpPrefix, self.server.httpPrefix,
self.server.translate, self.server.translate,