Remove edl.await_download() log clutter

This commit is contained in:
JeremyStar™ 2024-02-10 17:25:50 +01:00
parent 953ad8201f
commit 75de2a3644

View file

@ -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:
logger.verb("Creating awaited download")
logger.diag("Creating new download")
var id: int = create_download(url, method, headers, data)
logger.diag("Starting new download " + str(id))
start_download(id)
logger.diag("Waiting for download " + str(id) + " to finish")
while !is_download_complete(id): await get_tree().create_timer(0.1, true).timeout