summaryrefslogtreecommitdiff
path: root/examples/environment.py
diff options
context:
space:
mode:
authorkmvanbrunt <kmvanbrunt@gmail.com>2019-02-20 23:12:02 -0500
committerGitHub <noreply@github.com>2019-02-20 23:12:02 -0500
commit086d4db5e10b9bfe64c767a2dad9c38fe95f299c (patch)
tree0256863a9846acd5001ab6a97b1756a54ccd3df7 /examples/environment.py
parentd8ae68b8c151b8aea17b6299b601098910bf6373 (diff)
parent7218eb4f86da34f66ec484ad2db4b4d4a129a6e8 (diff)
downloadcmd2-git-086d4db5e10b9bfe64c767a2dad9c38fe95f299c.tar.gz
Merge pull request #627 from python-cmd2/tab_settables
Tab settables
Diffstat (limited to 'examples/environment.py')
-rwxr-xr-xexamples/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/environment.py b/examples/environment.py
index c45ce71c..e899cce8 100755
--- a/examples/environment.py
+++ b/examples/environment.py
@@ -14,9 +14,9 @@ class EnvironmentApp(cmd2.Cmd):
sunny = False
def __init__(self):
+ super().__init__()
self.settable.update({'degrees_c': 'Temperature in Celsius'})
self.settable.update({'sunny': 'Is it sunny outside?'})
- super().__init__()
def do_sunbathe(self, arg):
if self.degrees_c < 20: