reverse articles list so they are in chronological order
This commit is contained in:
parent
a219c75804
commit
43ee2992ff
@ -137,6 +137,7 @@ class TaskCog(commands.Cog):
|
|||||||
parsed_content = parse(unparsed_content)
|
parsed_content = parse(unparsed_content)
|
||||||
source = Source.from_parsed(parsed_content)
|
source = Source.from_parsed(parsed_content)
|
||||||
articles = source.get_latest_articles(10)
|
articles = source.get_latest_articles(10)
|
||||||
|
articles.reverse()
|
||||||
|
|
||||||
if not articles:
|
if not articles:
|
||||||
log.debug("No articles found")
|
log.debug("No articles found")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user