forked from indymedia/epicyon
Extra parameter
parent
e7533bdf97
commit
a75260dbf5
|
@ -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'):
|
||||
|
|
|
@ -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__":
|
||||
|
|
Loading…
Reference in New Issue