From 15acc38da950bfc0c7c3eec4d1ce8d86989921c7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 14 Jun 2022 22:06:08 -0700 Subject: test: autosave after any shape --- file.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file.lua') diff --git a/file.lua b/file.lua index 33c624c..d3ccca2 100644 --- a/file.lua +++ b/file.lua @@ -2,7 +2,7 @@ Drawing = require 'drawing' function load_from_disk(filename) - local infile = io.open(filename) + local infile = App.open_for_reading(filename) local result = load_from_file(infile) if infile then infile:close() end return result -- cgit 1.4.1-2-gfad0