Continue if post is not located

main
Bob Mottram 2020-10-06 14:34:04 +01:00
parent 96828b6727
commit a91f7bbb75
1 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,7 @@ def updateNewswireModerationQueue(baseDir: str, handle: str,
ctr += 1 ctr += 1
if ctr >= maxBlogsPerAccount: if ctr >= maxBlogsPerAccount:
break break
continue
moderationStatusFilename = fullPostFilename + '.moderate' moderationStatusFilename = fullPostFilename + '.moderate'
moderationStatusStr = '' moderationStatusStr = ''
@ -300,6 +301,7 @@ def addAccountBlogsToNewswire(baseDir: str, nickname: str, domain: str,
ctr += 1 ctr += 1
if ctr >= maxBlogsPerAccount: if ctr >= maxBlogsPerAccount:
break break
continue
postJsonObject = None postJsonObject = None
if fullPostFilename: if fullPostFilename: