From eeb095fe8af7def3161c5845f0fff9c5c6600719 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 11 Feb 2021 12:40:56 +0000 Subject: [PATCH] Only include non-system users blog posts --- newswire.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newswire.py b/newswire.py index ccaf983bf..35f35b2d9 100644 --- a/newswire.py +++ b/newswire.py @@ -794,7 +794,7 @@ def _addAccountBlogsToNewswire(baseDir: str, nickname: str, domain: str, locatePost(baseDir, nickname, domain, postUrl, False) if not fullPostFilename: - print('Unable to locate post ' + postUrl) + print('Unable to locate post for newswire ' + postUrl) ctr += 1 if ctr >= maxBlogsPerAccount: break @@ -840,7 +840,7 @@ def _addBlogsToNewswire(baseDir: str, domain: str, newswire: {}, for handle in dirs: if '@' not in handle: continue - if 'inbox@' in handle: + if 'inbox@' in handle or 'news@' in handle: continue nickname = handle.split('@')[0]