diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/macros.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/macros.py b/web/macros.py index 2ec89da..668c45e 100644 --- a/web/macros.py +++ b/web/macros.py | |||
@@ -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 | # |