From df7382af1982cb1ddb8de556b4bab3cf9537c28e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 6 Oct 2020 13:45:35 +0100 Subject: [PATCH] Test without admin trust --- newswire.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newswire.py b/newswire.py index 38090080..194d8220 100644 --- a/newswire.py +++ b/newswire.py @@ -309,9 +309,9 @@ def isTrustedByNewswire(baseDir: str, nickname: str) -> bool: """Returns true if the given nickname is trusted to post blog entries to the newswire """ - adminNickname = getConfigParam(baseDir, 'admin') - if nickname == adminNickname: - return True + # adminNickname = getConfigParam(baseDir, 'admin') + # if nickname == adminNickname: + # return True newswireTrustedFilename = baseDir + '/accounts/newswiretrusted.txt' if os.path.isfile(newswireTrustedFilename):