mirror of https://github.com/LDDestroier/CC/
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