diff options
Diffstat (limited to '')
-rw-r--r-- | helper.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,8 +72,8 @@ def getChangelogs (path): for f in sorted((f for f in os.listdir(appPath) if f.endswith(".txt") and not f[0] == "."), key = ver_to_int, reverse = True): io = cStringIO.StringIO() - md.convertFile(input = opj(appPath, f), output = io, encoding="utf8") - html = io.getvalue() + md.convertFile(input = opj(appPath, f), output = io, encoding="utf-8") + html = unicode(io.getvalue(), "utf-8") io.close() yield (html, f[:-4]) |