Skip to content

Commit c4893ea

Browse files
committed
Fixed example code
1 parent 00bb9b0 commit c4893ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def do_sunbathe(self, arg):
3030
result = 'UV is bad for your skin.'
3131
self.poutput(result)
3232

33-
def _onchange_degrees_c(self, old, new):
33+
def _onchange_degrees_c(self, param_name, old, new):
3434
# if it's over 40C, it's gotta be sunny, right?
3535
if new > 40:
3636
self.sunny = True

0 commit comments

Comments
 (0)