From bd3659a432dc6bcf9d93c4bfa47abb36819c450f Mon Sep 17 00:00:00 2001 From: Olivier Mangin Date: Sun, 6 Dec 2015 00:58:29 -0500 Subject: [PATCH] Fixes missing update of dye in open command. --- pubs/commands/open_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubs/commands/open_cmd.py b/pubs/commands/open_cmd.py index 7f47a4a..9fb0afc 100644 --- a/pubs/commands/open_cmd.py +++ b/pubs/commands/open_cmd.py @@ -39,7 +39,7 @@ def command(args): cmd = with_command.split() cmd.append(docpath) subprocess.Popen(cmd) - ui.message('{} opened.'.format(color.dye(docpath, color.filepath))) + ui.message('{} opened.'.format(color.dye_out(docpath, color.filepath))) except OSError: ui.error("Command does not exist: %s." % with_command) ui.exit(127)