Extra parameter

main
Bob Mottram 2020-10-09 20:32:05 +01:00
parent e7533bdf97
commit a75260dbf5
2 changed files with 4 additions and 3 deletions

View File

@ -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'):

View File

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