mirror of https://gitlab.com/bashrc2/epicyon
File path when archiving
parent
b2f926eaa3
commit
a7872e7c7f
4
posts.py
4
posts.py
|
@ -2290,9 +2290,9 @@ def archivePostsForPerson(httpPrefix: str,nickname: str,domain: str,baseDir: str
|
||||||
if not postFilename.endswith('.json'):
|
if not postFilename.endswith('.json'):
|
||||||
continue
|
continue
|
||||||
# Time of file creation
|
# Time of file creation
|
||||||
secondsSinceEpoch=getCreationTimeOfFile(postFilename)
|
secondsSinceEpoch=getCreationTimeOfFile(os.path.join(boxDir, postFilename))
|
||||||
if secondsSinceEpoch:
|
if secondsSinceEpoch:
|
||||||
postsInBoxDict[secondsSinceEpoch]=os.path.join(boxDir, postFilename)
|
postsInBoxDict[secondsSinceEpoch]=postFilename
|
||||||
postsCtr+=1
|
postsCtr+=1
|
||||||
|
|
||||||
noOfPosts=postsCtr
|
noOfPosts=postsCtr
|
||||||
|
|
Loading…
Reference in New Issue