Fixes missing update of dye in open command.
This commit is contained in:
parent
4e204a41f2
commit
bd3659a432
@ -39,7 +39,7 @@ def command(args):
|
|||||||
cmd = with_command.split()
|
cmd = with_command.split()
|
||||||
cmd.append(docpath)
|
cmd.append(docpath)
|
||||||
subprocess.Popen(cmd)
|
subprocess.Popen(cmd)
|
||||||
ui.message('{} opened.'.format(color.dye(docpath, color.filepath)))
|
ui.message('{} opened.'.format(color.dye_out(docpath, color.filepath)))
|
||||||
except OSError:
|
except OSError:
|
||||||
ui.error("Command does not exist: %s." % with_command)
|
ui.error("Command does not exist: %s." % with_command)
|
||||||
ui.exit(127)
|
ui.exit(127)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user