Remove edl.await_download() log clutter
This commit is contained in:
parent
953ad8201f
commit
75de2a3644
1 changed files with 0 additions and 2 deletions
|
@ -34,9 +34,7 @@ func generate_id() -> int:
|
||||||
|
|
||||||
func await_download(url: String, method: HTTPClient.Method = HTTPClient.Method.METHOD_GET, headers: PackedStringArray = PackedStringArray([]), data: String = "") -> Dictionary:
|
func await_download(url: String, method: HTTPClient.Method = HTTPClient.Method.METHOD_GET, headers: PackedStringArray = PackedStringArray([]), data: String = "") -> Dictionary:
|
||||||
logger.verb("Creating awaited download")
|
logger.verb("Creating awaited download")
|
||||||
logger.diag("Creating new download")
|
|
||||||
var id: int = create_download(url, method, headers, data)
|
var id: int = create_download(url, method, headers, data)
|
||||||
logger.diag("Starting new download " + str(id))
|
|
||||||
start_download(id)
|
start_download(id)
|
||||||
logger.diag("Waiting for download " + str(id) + " to finish")
|
logger.diag("Waiting for download " + str(id) + " to finish")
|
||||||
while !is_download_complete(id): await get_tree().create_timer(0.1, true).timeout
|
while !is_download_complete(id): await get_tree().create_timer(0.1, true).timeout
|
||||||
|
|
Loading…
Reference in a new issue