From 3af2a44522b74d330e3d353940da2795656e8d73 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Jul 2021 18:13:44 +0100 Subject: [PATCH] Set domains list --- daemon.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index 0bbe987e9..be2aa1bb7 100644 --- a/daemon.py +++ b/daemon.py @@ -4849,11 +4849,12 @@ class PubServer(BaseHTTPRequestHandler): fields['shareDomainList']) print('shareDomainList2: ' + sharedItemsFormStr) - if fields['shareDomainList'] != \ + shareDomainList = fields['shareDomainList'] + if shareDomainList != \ sharedItemsFormStr: sharedItemsFormStr2 = \ - sharedItemsFormStr.replace('\n', ',') - print('shareDomainList2: ' + + shareDomainList.replace('\n', ',') + print('shareDomainList3: ' + sharedItemsFormStr2) sharedItemsField = \ "sharedItemsFederatedDomains"