mirror of
https://github.com/LDDestroier/CC/
synced 2024-12-12 11:10:28 +00:00
Update mtape.lua
Fixed local file tape writing
This commit is contained in:
parent
2f91b70711
commit
3f4ed18780
@ -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, ""
|
||||||
|
Loading…
Reference in New Issue
Block a user