From 210faa62ddbe4fb0b4b1e2926aa0d9bfa0a148eb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Apr 2024 12:56:03 +0100 Subject: [PATCH] Tidying --- daemon_get.py | 2 +- daemon_get_newswire.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/daemon_get.py b/daemon_get.py index d24b08bf5..293fd2f07 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -4170,7 +4170,7 @@ def daemon_http_get(self) -> None: self.server.http_prefix, self.server.domain, self.server.domain_full, - cookie): + cookie, self.server.system_language): self.server.getreq_busy = False return diff --git a/daemon_get_newswire.py b/daemon_get_newswire.py index 45f4af1c8..bf75f7258 100644 --- a/daemon_get_newswire.py +++ b/daemon_get_newswire.py @@ -211,7 +211,8 @@ def edit_newswire2(self, calling_domain: str, path: str, def edit_news_post2(self, calling_domain: str, path: str, translate: {}, base_dir: 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 """ 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, path, domain, post_url, - self.server.system_language) + system_language) if msg: msg = msg.encode('utf-8') msglen = len(msg)