mirror of https://gitlab.com/bashrc2/epicyon
Backtracking
parent
454b4f3348
commit
6481e9f528
|
@ -1326,13 +1326,6 @@ def htmlEditNewswire(translate: {}, baseDir: str, path: str,
|
|||
with open(newswireFilename, 'r') as fp:
|
||||
newswireStr = fp.read()
|
||||
|
||||
# get the list of handles who are trusted to post to the newswire
|
||||
newswireTrusted = ''
|
||||
newswireTrustedFilename = baseDir + '/accounts/newswiretrusted.txt'
|
||||
if os.path.isfile(newswireTrustedFilename):
|
||||
with open(newswireTrustedFilename, "r") as trustFile:
|
||||
newswireTrusted = trustFile.read()
|
||||
|
||||
editNewswireForm += \
|
||||
'<div class="container">'
|
||||
|
||||
|
@ -1344,14 +1337,6 @@ def htmlEditNewswire(translate: {}, baseDir: str, path: str,
|
|||
' <textarea id="message" name="editedNewswire" ' + \
|
||||
'style="height:500px">' + newswireStr + '</textarea>'
|
||||
|
||||
editNewswireForm += \
|
||||
' ' + \
|
||||
translate['Nicknames whose blog entries appear on the newswire.'] + \
|
||||
'<br>'
|
||||
editNewswireForm += \
|
||||
' <textarea id="message" name="trustedNewswire" ' + \
|
||||
'style="height:500px">' + newswireTrusted + '</textarea>'
|
||||
|
||||
editNewswireForm += \
|
||||
'</div>'
|
||||
|
||||
|
|
Loading…
Reference in New Issue