forked from indymedia/epicyon
One more
parent
bc77031e6a
commit
bf28568bd1
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue