Version 1.9

This commit is contained in:
OTCv8
2020-01-21 23:45:52 +01:00
parent 11ad766308
commit be8704ee92
56 changed files with 3517 additions and 483 deletions

View File

@@ -182,7 +182,9 @@ function HTTP.onDownload(operationId, url, err, path, checksum)
end
if operation.callback then
if operation["type"] == "image" then
HTTP.images[url] = path
if not err then
HTTP.images[url] = path
end
operation.callback('/downloads/' .. path, err)
else
operation.callback(path, checksum, err)