Test without admin trust

merge-requests/8/head
Bob Mottram 2020-10-06 13:45:35 +01:00
parent f26d50f4d2
commit df7382af19
1 changed files with 3 additions and 3 deletions

View File

@ -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):