forked from indymedia/epicyon
Tidying
parent
a2b5e591c6
commit
5155c1f05e
3
posts.py
3
posts.py
|
@ -1990,7 +1990,8 @@ def archivePostsForPerson(httpPrefix: str,nickname: str,domain: str,baseDir: str
|
|||
|
||||
for statusNumber,postFilename in postsInBox.items():
|
||||
filePath = os.path.join(boxDir, postFilename)
|
||||
if os.path.isfile(filePath):
|
||||
if not os.path.isfile(filePath):
|
||||
continue
|
||||
if archiveDir:
|
||||
repliesPath=filePath.replace('.json','.replies')
|
||||
archivePath = os.path.join(archiveDir, postFilename)
|
||||
|
|
Loading…
Reference in New Issue