Only include non-system users blog posts

merge-requests/30/head
Bob Mottram 2021-02-11 12:40:56 +00:00
parent 77e7eff437
commit eeb095fe8a
1 changed files with 2 additions and 2 deletions

View File

@ -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]