mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 05:04:48 +01:00
IGN:...
This commit is contained in:
parent
66a6d60901
commit
4dfbd4e344
1 changed files with 2 additions and 2 deletions
|
|
@ -64,10 +64,10 @@ def expand_macro(self, formatter, name, args):
|
|||
txt = bzr_log_to_txt().encode('ascii', 'xmlcharrefreplace')
|
||||
out = StringIO()
|
||||
Formatter(formatter.env, formatter.context).format(txt, out)
|
||||
return Markup(out.getvalue())
|
||||
return Markup(out.getvalue().decode('utf8'))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
print bzr_log_to_txt()
|
||||
print bzr_log_to_txt()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue