forked from hkc/cc-stuff
1
0
Fork 0

Unfortunately, it was a string

This commit is contained in:
Casey 2023-10-17 20:29:15 +03:00
parent 038f15afb1
commit 0bf8549a65
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ if not req then
end end
local headers = req.getResponseHeaders() local headers = req.getResponseHeaders()
local length = headers["content-length"] or 1 local length = tonumber(headers["content-length"]) or 1
if length > tape.getSize() then if length > tape.getSize() then
printError("Tape is smaller than the file you're trying to write") printError("Tape is smaller than the file you're trying to write")