summaryrefslogtreecommitdiff
path: root/examples/environment.py
diff options
context:
space:
mode:
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: