From 362d332a71eb11e784b2e88801af1b9edc7ffa77 Mon Sep 17 00:00:00 2001 From: Tangent Date: Sat, 1 Aug 2026 04:14:19 -0600 Subject: [PATCH] somehow the file wasn't saved so the priority fix from the last commit is here instead --- asymptome.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/asymptome.lua b/asymptome.lua index f403980..8df01ab 100755 --- a/asymptome.lua +++ b/asymptome.lua @@ -4,7 +4,7 @@ math.randomseed(os.time()) local default_file = "books.json" local debug = function() end -local debug = function(...) print(...) end +-- local debug = function(...) print(...) end local path_exists = function(path_name) local file = io.open(path_name, "r") @@ -224,7 +224,7 @@ local get_book = function(data, input) series = series, genre = genre, progress = 0, - priority = 0, + priority = math.random(), } data.books[#data.books + 1] = book end @@ -252,7 +252,7 @@ local import_json = function(data, file_name) for title, value in pairs(import) do local run = function() local book = { -- minimum required book data strucutre - priority = 0, + priority = math.random(), progress = 0, }