main
Bob Mottram 2020-03-25 10:55:47 +00:00
parent 305e45ea91
commit 4e2e1dab21
1 changed files with 16 additions and 20 deletions

View File

@ -2126,7 +2126,6 @@ def runInboxQueue(recentPostsCache: {},maxRecentPosts: int, \
if quotasDaily['domains'][postDomain]>domainMaxPostsPerDay:
print('DEBUG: Quota per day - Maximum posts for '+postDomain+' reached ('+str(domainMaxPostsPerDay)+')')
if len(queue)>0:
if os.path.isfile(queueFilename):
try:
os.remove(queueFilename)
except:
@ -2142,7 +2141,6 @@ def runInboxQueue(recentPostsCache: {},maxRecentPosts: int, \
if quotasPerMin['domains'][postDomain]>domainMaxPostsPerMin:
print('DEBUG: Quota per min - Maximum posts for '+postDomain+' reached ('+str(domainMaxPostsPerMin)+')')
if len(queue)>0:
if os.path.isfile(queueFilename):
try:
os.remove(queueFilename)
except:
@ -2159,7 +2157,6 @@ def runInboxQueue(recentPostsCache: {},maxRecentPosts: int, \
if quotasDaily['accounts'][postHandle]>accountMaxPostsPerDay:
print('DEBUG: Quota account posts per day - Maximum posts for '+postHandle+' reached ('+str(accountMaxPostsPerDay)+')')
if len(queue)>0:
if os.path.isfile(queueFilename):
try:
os.remove(queueFilename)
except:
@ -2175,7 +2172,6 @@ def runInboxQueue(recentPostsCache: {},maxRecentPosts: int, \
if quotasPerMin['accounts'][postHandle]>accountMaxPostsPerMin:
print('DEBUG: Quota account posts per min - Maximum posts for '+postHandle+' reached ('+str(accountMaxPostsPerMin)+')')
if len(queue)>0:
if os.path.isfile(queueFilename):
try:
os.remove(queueFilename)
except: