mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 10:01:48 +00:00
Exclude system accounts
This commit is contained in:
1 parent
6d0678db54
commit
207d9febe8
1 file changed
+4
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user