mirror of
https://github.com/LDDestroier/CC/
synced 2025-10-29 06:27:46 +00:00
Update mtape.lua
Fixed local file tape writing
This commit is contained in:
@@ -129,7 +129,7 @@ local function getFileContents(path, isURL)
|
|||||||
if isURL then
|
if isURL then
|
||||||
file = http.get(path, nil, true)
|
file = http.get(path, nil, true)
|
||||||
else
|
else
|
||||||
file = fs.open(fs.combine(shell.dir(), path))
|
file = fs.open(fs.combine(shell.dir(), path), "r")
|
||||||
end
|
end
|
||||||
if not file then
|
if not file then
|
||||||
return false, ""
|
return false, ""
|
||||||
|
|||||||
Reference in New Issue
Block a user