forked from indymedia/epicyon
Test without admin trust
parent
f26d50f4d2
commit
df7382af19
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue