add more debug

This commit is contained in:
jane 2021-06-06 01:07:05 -04:00
parent 0e3404f92d
commit 803a5ba06f

View file

@ -59,8 +59,11 @@ local function getAllFiles(program)
local currentFiles = "" local currentFiles = ""
if fs.exists(path .. "indexes.dat") then if fs.exists(path .. "indexes.dat") then
print("#DEBUG path " .. path .. program .. "/indexes.dat")
local indexesFile = fs.open(path .. program .. "/indexes.dat", "r") local indexesFile = fs.open(path .. program .. "/indexes.dat", "r")
currentFiles = indexesFile.readAll() local indexesFileText = indexesFile.readAll()
print("#DEBUG indexesFileText " .. indexesFileText)
currentFiles = indexesFileText
indexesFile.close() indexesFile.close()
end end