From 207d9febe82884f22355905af444b613c8db9916 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 9 Jan 2021 21:47:52 +0000 Subject: [PATCH] Exclude system accounts --- schedule.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/schedule.py b/schedule.py index 6d781b375..181c67288 100644 --- a/schedule.py +++ b/schedule.py @@ -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'