From 5631e9a0501d944b8752ab7b28e555f68f300aa0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 13 Oct 2020 21:26:19 +0100 Subject: [PATCH] Get instance type after setting theme --- daemon.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/daemon.py b/daemon.py index ed16307d..4efa9f31 100644 --- a/daemon.py +++ b/daemon.py @@ -3360,6 +3360,15 @@ class PubServer(BaseHTTPRequestHandler): setTheme(baseDir, fields['themeDropdown'], domain) + self.server.blogsInstance = \ + getConfigParam(baseDir, + "blogsInstance") + self.server.mediaInstance = \ + getConfigParam(baseDir, + "mediaInstance") + self.server.newsInstance = \ + getConfigParam(baseDir, + "newsInstance") # change email address currentEmailAddress = getEmailAddress(actorJson)