diff --git a/mtape.lua b/mtape.lua index a282a40..a4da051 100644 --- a/mtape.lua +++ b/mtape.lua @@ -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, ""