mirror of https://gitlab.com/bashrc2/epicyon
Exclude system accounts
parent
6d0678db54
commit
207d9febe8
|
@ -142,6 +142,10 @@ def runPostSchedule(baseDir: str, httpd, maxScheduledPosts: int):
|
||||||
for account in dirs:
|
for account in dirs:
|
||||||
if '@' not in account:
|
if '@' not in account:
|
||||||
continue
|
continue
|
||||||
|
if account.startswith('inbox@'):
|
||||||
|
continue
|
||||||
|
if account.startswith('news@'):
|
||||||
|
continue
|
||||||
# scheduled posts index for this account
|
# scheduled posts index for this account
|
||||||
scheduleIndexFilename = \
|
scheduleIndexFilename = \
|
||||||
baseDir + '/accounts/' + account + '/schedule.index'
|
baseDir + '/accounts/' + account + '/schedule.index'
|
||||||
|
|
Loading…
Reference in New Issue