From 796087af450f234671d6ab528d785873f0b376a5 Mon Sep 17 00:00:00 2001 From: Fabien Benureau Date: Tue, 8 Dec 2015 23:51:44 +0100 Subject: [PATCH] Fix missing update of dye in open command Essentially reapply commit bd3659a432 that got swallowed in the merge. --- 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 226d236..bee1378 100644 --- a/pubs/commands/open_cmd.py +++ b/pubs/commands/open_cmd.py @@ -41,7 +41,7 @@ def command(conf, args): cmd = with_command.split() cmd.append(docpath) subprocess.Popen(cmd) - ui.message('{} opened.'.format(color.dye(docpath, 'filepath'))) + ui.message('{} opened.'.format(color.dye_out(docpath, 'filepath'))) except OSError: ui.error("Command does not exist: %s." % with_command) ui.exit(127)