Removes unappropriate encoding of string.
This commit is contained in:
parent
136b8f83dc
commit
fd49c3acf2
@ -53,9 +53,9 @@ def paper_oneliner(p, citekey_only = False):
|
|||||||
return p.citekey
|
return p.citekey
|
||||||
else:
|
else:
|
||||||
bibdesc = bib_oneliner(p.bibentry)
|
bibdesc = bib_oneliner(p.bibentry)
|
||||||
return (u'[{citekey}] {descr} {tags}'.format(
|
return u'[{citekey}] {descr} {tags}'.format(
|
||||||
citekey=color.dye(p.citekey, color.purple),
|
citekey=color.dye(p.citekey, color.purple),
|
||||||
descr=bibdesc,
|
descr=bibdesc,
|
||||||
tags=color.dye(' '.join(p.tags),
|
tags=color.dye(' '.join(p.tags),
|
||||||
color.tag, bold=False),
|
color.tag, bold=False),
|
||||||
)).encode('utf-8')
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user