main
Bob Mottram 2020-11-22 12:25:53 +00:00
parent bc77031e6a
commit bf28568bd1
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ def getDictFromNewswire(session, baseDir: str, domain: str,
removals = [] removals = []
for dateStr, item in sortedResult.items(): for dateStr, item in sortedResult.items():
ctr += 1 ctr += 1
if ctr >= maxNewswirePosts: if ctr > maxNewswirePosts:
removals.append(dateStr) removals.append(dateStr)
for r in removals: for r in removals:
sortedResult.pop(r) sortedResult.pop(r)