mirror of https://gitlab.com/bashrc2/epicyon
Rename function
parent
4d4bdceb76
commit
3c19ab692d
|
@ -109,9 +109,10 @@ def getRSS(session, url: str) -> {}:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def getRSSFromSubscriptions(session, subscriptionsFilename: str) -> {}:
|
def getRSSFromNewswire(session, baseDir: str) -> {}:
|
||||||
"""Gets rss feeds as a dictionary from a list of feeds stored in a file
|
"""Gets rss feeds as a dictionary from newswire file
|
||||||
"""
|
"""
|
||||||
|
subscriptionsFilename = baseDir + '/accounts/newswire.txt'
|
||||||
if not os.path.isfile(subscriptionsFilename):
|
if not os.path.isfile(subscriptionsFilename):
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue