Exclude system accounts

merge-requests/8/head
Bob Mottram 2021-01-09 21:47:52 +00:00
parent 6d0678db54
commit 207d9febe8
1 changed files with 4 additions and 0 deletions

View File

@ -142,6 +142,10 @@ def runPostSchedule(baseDir: str, httpd, maxScheduledPosts: int):
for account in dirs:
if '@' not in account:
continue
if account.startswith('inbox@'):
continue
if account.startswith('news@'):
continue
# scheduled posts index for this account
scheduleIndexFilename = \
baseDir + '/accounts/' + account + '/schedule.index'