diff options
Diffstat (limited to 'web/macros.py')
-rw-r--r-- | web/macros.py | 4 |
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 | |||
2 | import os.path | 2 | import os.path |
3 | import time | 3 | import time |
4 | 4 | ||
5 | plugins_release = '2.3.1' | 5 | plugins_release = '2.3.5' |
6 | mib_release = '1.0.1' | 6 | mib_release = '1.0.1' |
7 | release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') | 7 | release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') |
8 | site_url = 'https://www.monitoring-plugins.org/' | 8 | site_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 | # |