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)