From a75260dbf541b24f040cc30c46c4b1e81c5c0d4f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 9 Oct 2020 20:32:05 +0100 Subject: [PATCH] Extra parameter --- daemon.py | 5 +++-- epicyon.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index fec45f86..917a4224 100644 --- a/daemon.py +++ b/daemon.py @@ -3155,7 +3155,8 @@ class PubServer(BaseHTTPRequestHandler): actorChanged = True if fields.get('themeDropdown'): setTheme(baseDir, - fields['themeDropdown']) + fields['themeDropdown'], + domain) # change email address currentEmailAddress = getEmailAddress(actorJson) @@ -3436,7 +3437,7 @@ class PubServer(BaseHTTPRequestHandler): '.etag') currTheme = getTheme(baseDir) if currTheme: - setTheme(baseDir, currTheme) + setTheme(baseDir, currTheme, domain) # change media instance status if fields.get('mediaInstance'): diff --git a/epicyon.py b/epicyon.py index bdafac36..6ca661f5 100644 --- a/epicyon.py +++ b/epicyon.py @@ -1918,7 +1918,7 @@ if YTDomain: if '.' in YTDomain: args.YTReplacementDomain = YTDomain -if setTheme(baseDir, themeName): +if setTheme(baseDir, themeName, domain): print('Theme set to ' + themeName) if __name__ == "__main__":