summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/pyssg/rss.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 21c6bd9..0d741ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
CHANGES
=======
+* fix bad method call
* ... literally 3 commits to fix a missing obj
* ACTUALLY add missing config obj lol
* fix missing config obj
diff --git a/src/pyssg/rss.py b/src/pyssg/rss.py
index 3c2b59c..ec661bb 100644
--- a/src/pyssg/rss.py
+++ b/src/pyssg/rss.py
@@ -37,7 +37,7 @@ class RSSBuilder:
def __get_items_formatted(self) -> str:
# i_f=items formatted for short
i_f: str = ''
- for p in pages:
+ for p in self.pages:
url: str = f'{self.config.base_url}/{p.name.replace(".md", ".html")}'
date: str = p.c_datetime.strftime(DFORMAT)