Unique entries in list

main
Bob Mottram 2020-10-06 11:37:06 +01:00
parent ebb760a3c3
commit fc267f8b91
1 changed files with 2 additions and 1 deletions

View File

@ -213,6 +213,7 @@ def updateNewswireModerationQueue(baseDir: str, handle: str,
open(moderationStatusFilename).read():
if moderationDict.get(nickname):
moderationDict[nickname] = []
if fullPostFilename not in moderationDict[nickname]:
moderationDict[nickname].append(fullPostFilename)
ctr += 1