mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 06:03:27 +02:00
Version 1.9
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user