diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-06 17:57:09 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-06 17:57:09 -0500 |
commit | c4893ea8a132c06bc71b0ddd63801604e6f85177 (patch) | |
tree | 6e046c2445edf62b024a9389dc719865584dc9cf /examples | |
parent | 00bb9b0c08c7b7a791a3278a6b1003d7cad471bd (diff) | |
download | cmd2-git-c4893ea8a132c06bc71b0ddd63801604e6f85177.tar.gz |
Fixed example code
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/environment.py b/examples/environment.py index a24734f1..670b63ac 100755 --- a/examples/environment.py +++ b/examples/environment.py @@ -30,7 +30,7 @@ class EnvironmentApp(cmd2.Cmd): result = 'UV is bad for your skin.' self.poutput(result) - def _onchange_degrees_c(self, old, new): + def _onchange_degrees_c(self, param_name, old, new): # if it's over 40C, it's gotta be sunny, right? if new > 40: self.sunny = True |