summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-05-23 17:02:20 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-05-23 17:02:20 -0600
commit6d27f928a11e55e3e3a84d8ad7240f0f2d04f921 (patch)
tree9d18d93db7b2130f20a3a7bd8903776027a51e26
parentdbf342dc8c94f318093233dd4861e51dde279056 (diff)
fix missing ref to obj
-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)