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__":