write actual indexes and not update results

This commit is contained in:
jane 2021-06-06 01:00:46 -04:00
parent b4bf491b83
commit 6ca7a57233

View file

@ -81,7 +81,7 @@ local function getAllFiles(program)
local resultTable2 = split(resultText2, "\n") local resultTable2 = split(resultText2, "\n")
local newIndexesFile = fs.open(path .. program .. "/indexes.dat", "w") local newIndexesFile = fs.open(path .. program .. "/indexes.dat", "w")
newIndexesFile.write(resultText) newIndexesFile.write(resultText2)
newIndexesFile.close() newIndexesFile.close()
print("wrote new indexes for " .. program) print("wrote new indexes for " .. program)