Fix downloader

This commit is contained in:
Maximilian Ammann 2021-12-03 21:31:05 +01:00
parent 4a90df93fb
commit 5f859c9d13
2 changed files with 4 additions and 4 deletions

View File

@ -65,4 +65,4 @@ path = "src/main.rs"
[[bin]]
name = "download_tiles"
path = "src/tile_downloader.rs"
path = "src/utils/tile_downloader.rs"

View File

@ -28,7 +28,7 @@ pub async fn download_tiles() {
}
}
}
#[tokio::main]
async fn main() {
download_tiles().await;
fn main() {
pollster::block_on(download_tiles());
}