diff --git a/tenkan/files.py b/tenkan/files.py index ab8e1e3..41f76b1 100644 --- a/tenkan/files.py +++ b/tenkan/files.py @@ -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'])