forked from hkc/cc-stuff
Unfortunately, it was a string
This commit is contained in:
parent
038f15afb1
commit
0bf8549a65
|
@ -49,7 +49,7 @@ if not req then
|
|||
end
|
||||
|
||||
local headers = req.getResponseHeaders()
|
||||
local length = headers["content-length"] or 1
|
||||
local length = tonumber(headers["content-length"]) or 1
|
||||
|
||||
if length > tape.getSize() then
|
||||
printError("Tape is smaller than the file you're trying to write")
|
||||
|
|
Loading…
Reference in New Issue