forked from indymedia/epicyon
Extra filename check
This commit is contained in:
1 parent
6031502ace
commit
d91efacf4b
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user