Rename function

main
Bob Mottram 2020-10-04 10:59:55 +01:00
parent 4d4bdceb76
commit 3c19ab692d
1 changed files with 3 additions and 2 deletions

View File

@ -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 {}