Fixes missing update of dye in open command.

This commit is contained in:
Olivier Mangin 2015-12-06 00:58:29 -05:00
parent 4e204a41f2
commit bd3659a432

View File

@ -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)