Update mtape.lua

Fixed local file tape writing
This commit is contained in:
LDDestroier 2023-09-30 14:52:51 -04:00 committed by GitHub
parent 2f91b70711
commit 3f4ed18780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ local function getFileContents(path, isURL)
if isURL then
file = http.get(path, nil, true)
else
file = fs.open(fs.combine(shell.dir(), path))
file = fs.open(fs.combine(shell.dir(), path), "r")
end
if not file then
return false, ""