about summary refs log tree commit diff stats
path: root/zet.tlv
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-03-16 17:03:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-03-16 17:03:38 -0700
commitb9c187d2594953267357ef37e352d425c7fbeafe (patch)
tree7c0ff7f3814475ac46c9af93d1b79d9e80f4bff6 /zet.tlv
parentab89be1ed37351f4ff0a338b158d313e000751e3 (diff)
downloadteliva-b9c187d2594953267357ef37e352d425c7fbeafe.tar.gz
stop using tasks in start_reading/start_writing
We just need queues/streams for file I/O. No need to complect
concurrency concerns with them.
Diffstat (limited to 'zet.tlv')
-rw-r--r--zet.tlv4
1 files changed, 2 insertions, 2 deletions
diff --git a/zet.tlv b/zet.tlv
index 0a638c4..ab0ad79 100644
--- a/zet.tlv
+++ b/zet.tlv
@@ -3732,8 +3732,8 @@
     >switch to new file API for writing
   write_zettels:
     >function write_zettels(outfile)
-    >  outfile:send(json.encode(zettels))
-    >  outfile:close()
+    >  outfile.write(json.encode(zettels))
+    >  outfile.close()
     >end
 - __teliva_timestamp:
     >Thu Mar 10 04:21:28 2022