summaryrefslogtreecommitdiffstats
path: root/web/macros.py
diff options
context:
space:
mode:
Diffstat (limited to 'web/macros.py')
-rw-r--r--web/macros.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/macros.py b/web/macros.py
index df64a26..0cd05d2 100644
--- a/web/macros.py
+++ b/web/macros.py
@@ -2,7 +2,7 @@ import email.utils
2import os.path 2import os.path
3import time 3import time
4 4
5plugins_release = '2.3.1' 5plugins_release = '2.3.5'
6mib_release = '1.0.1' 6mib_release = '1.0.1'
7release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') 7release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-')
8site_url = 'https://www.monitoring-plugins.org/' 8site_url = 'https://www.monitoring-plugins.org/'
@@ -69,7 +69,7 @@ def hook_postconvert_rss():
69 date = email.utils.formatdate() 69 date = email.utils.formatdate()
70 rss = _RSS % (title, link, desc, date, date, items) 70 rss = _RSS % (title, link, desc, date, date, items)
71 fp = open(os.path.join(output, 'rss.xml'), 'w') 71 fp = open(os.path.join(output, 'rss.xml'), 'w')
72 fp.write(rss) 72 fp.write(rss.encode('utf-8'))
73 fp.close() 73 fp.close()
74 74
75# 75#