summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-05-25 21:23:36 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-05-25 21:23:36 -0600
commit0e3a6155e2270a09e022469ea15c2ea6c32d06fc (patch)
tree49badb0b10f1d98dc735ac244b3658afffdcb74f /src
parent2c4afde1c93bbf3990514c45b06b63e648c46f63 (diff)
fix bug
Diffstat (limited to 'src')
-rw-r--r--src/pyssg/template.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pyssg/template.py b/src/pyssg/template.py
index 932b6ae..3ddcf82 100644
--- a/src/pyssg/template.py
+++ b/src/pyssg/template.py
@@ -219,6 +219,9 @@ class Template(HF):
os.chdir('rss')
self.rss = self.__read_template('rss.xml')
+ # go back to templates
+ os.chdir('..')
+
# sitemap
os.chdir('sitemap')
self.sitemap = self.__read_template('sitemap.xml')