forked from indymedia/epicyon
Loop through dictionary
parent
0710f3d38a
commit
35531bda86
2
posts.py
2
posts.py
|
@ -1932,7 +1932,7 @@ def archivePostsForPerson(httpPrefix: str,nickname: str,domain: str,baseDir: str
|
||||||
# sort the list in ascending order of date
|
# sort the list in ascending order of date
|
||||||
postsInBox=OrderedDict(sorted(postsInBoxDict.items(),reverse=False))
|
postsInBox=OrderedDict(sorted(postsInBoxDict.items(),reverse=False))
|
||||||
|
|
||||||
for postFilename in postsInBox:
|
for statusNumber,postFilename in postsInBox.items():
|
||||||
filePath = os.path.join(boxDir, postFilename)
|
filePath = os.path.join(boxDir, postFilename)
|
||||||
if os.path.isfile(filePath):
|
if os.path.isfile(filePath):
|
||||||
if archiveDir:
|
if archiveDir:
|
||||||
|
|
Loading…
Reference in New Issue