forked from indymedia/epicyon
Extra filename check
parent
6031502ace
commit
d91efacf4b
2
posts.py
2
posts.py
|
@ -1960,6 +1960,8 @@ def createBoxBase(session,baseDir: str,boxname: str, \
|
|||
postsInSharedInbox=os.scandir(sharedBoxDir)
|
||||
for postFilename in postsInSharedInbox:
|
||||
postFilename=postFilename.name
|
||||
if not postFilename.endswith('.json'):
|
||||
continue
|
||||
statusNumber=getStatusNumberFromPostFilename(postFilename)
|
||||
if statusNumber:
|
||||
sharedInboxFilename=os.path.join(sharedBoxDir, postFilename)
|
||||
|
|
Loading…
Reference in New Issue