diff options
Diffstat (limited to 'pysamples/save_heap_to_journal_entry.py')
-rw-r--r-- | pysamples/save_heap_to_journal_entry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pysamples/save_heap_to_journal_entry.py b/pysamples/save_heap_to_journal_entry.py index 2589164..96ac845 100644 --- a/pysamples/save_heap_to_journal_entry.py +++ b/pysamples/save_heap_to_journal_entry.py @@ -22,7 +22,7 @@ # palette is selected. -def myblock(lc, title): +def myblock(tw, title): ########################################################################### # @@ -42,7 +42,7 @@ def myblock(lc, title): # Save JSON-encoded heap to temporary file heap_file = os.path.join(get_path(activity, 'instance'), str(title) + '.txt') - data_to_file(lc.heap, heap_file) + data_to_file(tw.lc.heap, heap_file) # Create a datastore object dsobject = datastore.create() |