Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples/load_journal_entry_to_heap.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysamples/load_journal_entry_to_heap.py')
-rw-r--r--pysamples/load_journal_entry_to_heap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysamples/load_journal_entry_to_heap.py b/pysamples/load_journal_entry_to_heap.py
index cf2ec7e..4ee713c 100644
--- a/pysamples/load_journal_entry_to_heap.py
+++ b/pysamples/load_journal_entry_to_heap.py
@@ -22,7 +22,7 @@
# palette is selected.
-def myblock(lc, x): # ignore second argument
+def myblock(tw, x): # ignore second argument
###########################################################################
#
@@ -33,4 +33,4 @@ def myblock(lc, x): # ignore second argument
from tautils import chooser
# Choose a datastore object and push data to heap (Sugar only)
- chooser(lc.tw.parent, '', lc.push_file_data_to_heap)
+ chooser(tw.parent, '', tw.lc.push_file_data_to_heap)