summaryrefslogtreecommitdiff
path: root/examples/environment.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-05-23 21:16:17 -0600
committerkotfu <kotfu@kotfu.net>2018-05-23 21:16:17 -0600
commit6780baa83457f7e99ba3a9c4f6a3c27701326ac5 (patch)
treec130136619c740645c45326a2ada0fcffa9f65a2 /examples/environment.py
parent1a70b90f375997751bc7df16b5e3f58c6194c71b (diff)
downloadcmd2-git-6780baa83457f7e99ba3a9c4f6a3c27701326ac5.tar.gz
Standardize cmd2 imports in tests and examples
Diffstat (limited to 'examples/environment.py')
-rwxr-xr-xexamples/environment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/environment.py b/examples/environment.py
index af452e4e..c45ce71c 100755
--- a/examples/environment.py
+++ b/examples/environment.py
@@ -4,10 +4,10 @@
A sample application for cmd2 demonstrating customized environment parameters
"""
-from cmd2.cmd2 import Cmd
+import cmd2
-class EnvironmentApp(Cmd):
+class EnvironmentApp(cmd2.Cmd):
""" Example cmd2 application. """
degrees_c = 22