summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/environment.py2
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