Removes unappropriate encoding of string.

This commit is contained in:
Olivier Mangin 2014-09-09 13:04:26 +02:00
parent 136b8f83dc
commit fd49c3acf2

View File

@ -53,9 +53,9 @@ def paper_oneliner(p, citekey_only = False):
return p.citekey
else:
bibdesc = bib_oneliner(p.bibentry)
return (u'[{citekey}] {descr} {tags}'.format(
return u'[{citekey}] {descr} {tags}'.format(
citekey=color.dye(p.citekey, color.purple),
descr=bibdesc,
tags=color.dye(' '.join(p.tags),
color.tag, bold=False),
)).encode('utf-8')
)