forked from indymedia/epicyon
Moderated posts can be rejected
parent
d0085e1c33
commit
3e666a4a91
|
@ -238,8 +238,10 @@ def updateNewswireModerationQueue(baseDir: str, handle: str,
|
||||||
# if the post is still in the moderation queue
|
# if the post is still in the moderation queue
|
||||||
if '[accepted]' not in \
|
if '[accepted]' not in \
|
||||||
open(moderationStatusFilename).read():
|
open(moderationStatusFilename).read():
|
||||||
|
if '[rejected]' not in \
|
||||||
# load the post and add its details to the moderation queue
|
open(moderationStatusFilename).read():
|
||||||
|
# load the post and add its details to the
|
||||||
|
# moderation queue
|
||||||
postJsonObject = None
|
postJsonObject = None
|
||||||
if fullPostFilename:
|
if fullPostFilename:
|
||||||
postJsonObject = loadJson(fullPostFilename)
|
postJsonObject = loadJson(fullPostFilename)
|
||||||
|
|
Loading…
Reference in New Issue