diff --git a/newswire.py b/newswire.py index 24ce4fc3..5becaefc 100644 --- a/newswire.py +++ b/newswire.py @@ -213,7 +213,8 @@ def updateNewswireModerationQueue(baseDir: str, handle: str, open(moderationStatusFilename).read(): if moderationDict.get(nickname): moderationDict[nickname] = [] - moderationDict[nickname].append(fullPostFilename) + if fullPostFilename not in moderationDict[nickname]: + moderationDict[nickname].append(fullPostFilename) ctr += 1 if ctr >= maxBlogsPerAccount: