From fde2efc39ac53fb66c6ff0349d8e117ca00c31ab Mon Sep 17 00:00:00 2001 From: "Fabien C. Y. Benureau" Date: Thu, 6 Jan 2022 12:34:05 +0100 Subject: [PATCH] fix tag display in oneliner() --- pubs/pretty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubs/pretty.py b/pubs/pretty.py index 6b12fb6..8ec1bf8 100644 --- a/pubs/pretty.py +++ b/pubs/pretty.py @@ -78,7 +78,7 @@ def paper_oneliner(p, citekey_only=False, max_authors=3): else 'NOEXT'), 'tag') tags = '' if len(p.tags) == 0 else '| {}'.format( - ','.join(color.dye_out(t, 'tag') for t in sorted(p.tags))) + ', '.join(color.dye_out(t, 'tag') for t in sorted(p.tags))) return '[{citekey}] {descr}{doc} {tags}'.format( citekey=color.dye_out(p.citekey, 'citekey'), descr=bibdesc, tags=tags, doc=doc_str)