summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python_scripting.py')
-rwxr-xr-xexamples/python_scripting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python_scripting.py b/examples/python_scripting.py
index a0d36e36..ae04fda1 100755
--- a/examples/python_scripting.py
+++ b/examples/python_scripting.py
@@ -36,7 +36,7 @@ class CmdLineApp(Cmd):
def _set_prompt(self):
"""Set prompt so it displays the current working directory."""
self.cwd = os.getcwd()
- self.prompt = '{!r} $ '.format(self.cwd)
+ self.prompt = self.colorize('{!r} $ '.format(self.cwd), 'cyan')
def postcmd(self, stop, line):
"""Hook method executed just after a command dispatch is finished.