From 92962ad187369d1e7e3cb80da178ec8128acf1e1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Jul 2021 18:06:44 +0100 Subject: [PATCH] Debug --- daemon.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/daemon.py b/daemon.py index a58d981c5..0bbe987e9 100644 --- a/daemon.py +++ b/daemon.py @@ -4837,6 +4837,7 @@ class PubServer(BaseHTTPRequestHandler): if not sharedItemsFederatedDomainsStr: sharedItemsFederatedDomainsStr = '' sharedItemsFormStr = '' + print('shareDomainList') if fields.get('shareDomainList'): sharedItemsList = \ sharedItemsFederatedDomainsStr.split(',') @@ -4844,10 +4845,16 @@ class PubServer(BaseHTTPRequestHandler): sharedItemsFormStr += \ sharedFederatedDomain.strip() + '\n' + print('shareDomainList1: ' + + fields['shareDomainList']) + print('shareDomainList2: ' + + sharedItemsFormStr) if fields['shareDomainList'] != \ sharedItemsFormStr: sharedItemsFormStr2 = \ sharedItemsFormStr.replace('\n', ',') + print('shareDomainList2: ' + + sharedItemsFormStr2) sharedItemsField = \ "sharedItemsFederatedDomains" setConfigParam(baseDir, sharedItemsField,