diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-03-21 19:53:04 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-03-21 19:53:04 (GMT) |
commit | fc4b6a64cc06bb35328835a382c14a8af542d20c (patch) | |
tree | f9bf8fcab89ab16489de05142d06d482b6df6bea /pysamples/push_time.py | |
parent | 1eede14372ceaaec094c55ca01f4c8f6dbfd0ab4 (diff) |
FLAG DAY: passing TurtleWindow instead of LogoCode instance as 1st argument
Diffstat (limited to 'pysamples/push_time.py')
-rw-r--r-- | pysamples/push_time.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pysamples/push_time.py b/pysamples/push_time.py index 2abf260..ed823ee 100644 --- a/pysamples/push_time.py +++ b/pysamples/push_time.py @@ -22,7 +22,7 @@ # palette is selected. -def myblock(lc, x): # ignore second argument +def myblock(tw, x): # ignore second argument ########################################################################### # @@ -33,6 +33,6 @@ def myblock(lc, x): # ignore second argument # ########################################################################### - lc.heap.append(localtime().tm_hour) - lc.heap.append(localtime().tm_min) - lc.heap.append(localtime().tm_sec) + tw.lc.heap.append(localtime().tm_hour) + tw.lc.heap.append(localtime().tm_min) + tw.lc.heap.append(localtime().tm_sec) |