mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
5560b8644c
commit
210faa62dd
|
@ -4170,7 +4170,7 @@ def daemon_http_get(self) -> None:
|
||||||
self.server.http_prefix,
|
self.server.http_prefix,
|
||||||
self.server.domain,
|
self.server.domain,
|
||||||
self.server.domain_full,
|
self.server.domain_full,
|
||||||
cookie):
|
cookie, self.server.system_language):
|
||||||
self.server.getreq_busy = False
|
self.server.getreq_busy = False
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,8 @@ def edit_newswire2(self, calling_domain: str, path: str,
|
||||||
def edit_news_post2(self, calling_domain: str, path: str,
|
def edit_news_post2(self, calling_domain: str, path: str,
|
||||||
translate: {}, base_dir: str,
|
translate: {}, base_dir: str,
|
||||||
http_prefix: str, domain: str,
|
http_prefix: str, domain: str,
|
||||||
domain_full: str, cookie: str) -> bool:
|
domain_full: str, cookie: str,
|
||||||
|
system_language: str) -> bool:
|
||||||
"""Show the edit screen for a news post
|
"""Show the edit screen for a news post
|
||||||
"""
|
"""
|
||||||
if '/users/' in path and '/editnewspost=' in path:
|
if '/users/' in path and '/editnewspost=' in path:
|
||||||
|
@ -230,7 +231,7 @@ def edit_news_post2(self, calling_domain: str, path: str,
|
||||||
msg = html_edit_news_post(translate, base_dir,
|
msg = html_edit_news_post(translate, base_dir,
|
||||||
path, domain,
|
path, domain,
|
||||||
post_url,
|
post_url,
|
||||||
self.server.system_language)
|
system_language)
|
||||||
if msg:
|
if msg:
|
||||||
msg = msg.encode('utf-8')
|
msg = msg.encode('utf-8')
|
||||||
msglen = len(msg)
|
msglen = len(msg)
|
||||||
|
|
Loading…
Reference in New Issue