From 281d945f081798ef4017e71d94b800f167915ec8 Mon Sep 17 00:00:00 2001 From: Olivier Mangin Date: Tue, 18 Jun 2013 20:22:02 +0200 Subject: [PATCH] FIX color bugs. --- papers/commands/list_cmd.py | 2 +- papers/commands/open_cmd.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/papers/commands/list_cmd.py b/papers/commands/list_cmd.py index 017d04b..6c0477b 100644 --- a/papers/commands/list_cmd.py +++ b/papers/commands/list_cmd.py @@ -20,7 +20,7 @@ def command(config, ui, cmd): citekey=color.dye(rp.citekeys[n], color.purple), descr=bibdesc, labels=color.dye(' '.join(p.metadata.get('labels', [])), - color.purple), + color.purple, bold=True), )).encode('utf-8')) ui.print_('\n'.join(articles)) diff --git a/papers/commands/open_cmd.py b/papers/commands/open_cmd.py index 6555584..21cc92b 100644 --- a/papers/commands/open_cmd.py +++ b/papers/commands/open_cmd.py @@ -3,6 +3,7 @@ import subprocess from .. import repo from ..paper import NoDocumentFile from .. import configs +from .. import color def parser(subparsers, config):