Set domains list

main
Bob Mottram 2021-07-27 18:13:44 +01:00
parent 92962ad187
commit 3af2a44522
1 changed files with 4 additions and 3 deletions

View File

@ -4849,11 +4849,12 @@ class PubServer(BaseHTTPRequestHandler):
fields['shareDomainList']) fields['shareDomainList'])
print('shareDomainList2: ' + print('shareDomainList2: ' +
sharedItemsFormStr) sharedItemsFormStr)
if fields['shareDomainList'] != \ shareDomainList = fields['shareDomainList']
if shareDomainList != \
sharedItemsFormStr: sharedItemsFormStr:
sharedItemsFormStr2 = \ sharedItemsFormStr2 = \
sharedItemsFormStr.replace('\n', ',') shareDomainList.replace('\n', ',')
print('shareDomainList2: ' + print('shareDomainList3: ' +
sharedItemsFormStr2) sharedItemsFormStr2)
sharedItemsField = \ sharedItemsField = \
"sharedItemsFederatedDomains" "sharedItemsFederatedDomains"