From 3c19ab692da81ee7def932b7f7938bf2ef02caac Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 4 Oct 2020 10:59:55 +0100 Subject: [PATCH] Rename function --- newswire.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/newswire.py b/newswire.py index cbc3509d..07af875a 100644 --- a/newswire.py +++ b/newswire.py @@ -109,9 +109,10 @@ def getRSS(session, url: str) -> {}: return None -def getRSSFromSubscriptions(session, subscriptionsFilename: str) -> {}: - """Gets rss feeds as a dictionary from a list of feeds stored in a file +def getRSSFromNewswire(session, baseDir: str) -> {}: + """Gets rss feeds as a dictionary from newswire file """ + subscriptionsFilename = baseDir + '/accounts/newswire.txt' if not os.path.isfile(subscriptionsFilename): return {}