Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples/push_time.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysamples/push_time.py')
-rw-r--r--pysamples/push_time.py8
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)