summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-05-27 17:40:52 -0400
committerGitHub <noreply@github.com>2018-05-27 17:40:52 -0400
commit8f88f819fae7508066a81a8d961a7115f2ec4bed (patch)
treedb21d73cba1b851e7e95429018b1e79cf5476efe /examples/python_scripting.py
parent6b6a36c41bd4d1ce3c7b8fbe46d935e599ccf744 (diff)
parent906feb79ba54fde2b0635c321c659922559779f3 (diff)
downloadcmd2-git-8f88f819fae7508066a81a8d961a7115f2ec4bed.tar.gz
Merge pull request #419 from python-cmd2/py_updates
Removed unused function
Diffstat (limited to 'examples/python_scripting.py')
-rwxr-xr-xexamples/python_scripting.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/python_scripting.py b/examples/python_scripting.py
index 7e2cf345..fd2d7e8f 100755
--- a/examples/python_scripting.py
+++ b/examples/python_scripting.py
@@ -28,6 +28,7 @@ class CmdLineApp(cmd2.Cmd):
super().__init__(use_ipython=True)
self._set_prompt()
self.intro = 'Happy 𝛑 Day. Note the full Unicode support: 😇 (Python 3 only) 💩'
+ self.locals_in_py = True
def _set_prompt(self):
"""Set prompt so it displays the current working directory."""