File path when archiving

main2
Bob Mottram 2019-11-06 13:49:27 +00:00
parent b2f926eaa3
commit a7872e7c7f
1 changed files with 2 additions and 2 deletions

View File

@ -2290,9 +2290,9 @@ def archivePostsForPerson(httpPrefix: str,nickname: str,domain: str,baseDir: str
if not postFilename.endswith('.json'):
continue
# Time of file creation
secondsSinceEpoch=getCreationTimeOfFile(postFilename)
secondsSinceEpoch=getCreationTimeOfFile(os.path.join(boxDir, postFilename))
if secondsSinceEpoch:
postsInBoxDict[secondsSinceEpoch]=os.path.join(boxDir, postFilename)
postsInBoxDict[secondsSinceEpoch]=postFilename
postsCtr+=1
noOfPosts=postsCtr