From b79ce4321f599ef6b44e5f280f657c3c307efb8c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 9 Oct 2020 10:43:34 +0100 Subject: [PATCH] Function name change --- newsdaemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newsdaemon.py b/newsdaemon.py index 47d4a24c..b4162e3b 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -16,7 +16,7 @@ from utils import saveJson from utils import getStatusNumber -def updateFeedsIndex(baseDir: str, domain: str, postId: str) -> None: +def updateFeedsOutboxIndex(baseDir: str, domain: str, postId: str) -> None: """Updates the index used for imported RSS feeds """ basePath = baseDir + '/accounts/news@' + domain @@ -121,7 +121,7 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str, # save the post and update the index if saveJson(blog, filename): - updateFeedsIndex(baseDir, domain, postId + '.json') + updateFeedsOutboxIndex(baseDir, domain, postId + '.json') # set the url newswire[originalDateStr][1] = \ '/users/news/statuses/' + statusNumber