updates #4

Closed
takaoni wants to merge 4 commits from updates into master
Showing only changes of commit 4483de7b63 - Show all commits

View file

@ -125,7 +125,7 @@ def _rebuild_atom_file(path: str, data: dict, urls: list) -> None:
# rebuild all articles
for art, article in enumerate(data['articles']):
atomentry = atomfeed.add_entry()
url = urls[art]
url = urls[0]
atomentry.guid(url)
atomentry.link(href=url, rel='alternate')
atomentry.updated(article['updated'])