Test without admin trust

main
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 """Returns true if the given nickname is trusted to post
blog entries to the newswire blog entries to the newswire
""" """
adminNickname = getConfigParam(baseDir, 'admin') # adminNickname = getConfigParam(baseDir, 'admin')
if nickname == adminNickname: # if nickname == adminNickname:
return True # return True
newswireTrustedFilename = baseDir + '/accounts/newswiretrusted.txt' newswireTrustedFilename = baseDir + '/accounts/newswiretrusted.txt'
if os.path.isfile(newswireTrustedFilename): if os.path.isfile(newswireTrustedFilename):