"src/led_effects.cpp" did not exist on "130d5dd4729a668ab7cc72b5195b4ebdd994a940"
Commit c43d9971 authored by Eric Duminil's avatar Eric Duminil
Browse files

Rename

parent db18d70b
......@@ -60,7 +60,7 @@ def download_and_verify(file_info: dict, tmp_dir: Path, download_dir: Path, max_
print(f"✓ {filename} downloaded and verified successfully")
return True
else:
print(f" Hash mismatch for {filename}")
print(f" Size mismatch for {filename}")
print(f" Expected: {expected_size}")
print(f" Got: {actual_size}")
tmp_path.unlink()
......@@ -70,12 +70,12 @@ def download_and_verify(file_info: dict, tmp_dir: Path, download_dir: Path, max_
def download_all_files(
json_filename: str, download_path: Path, tmp_path: Path = SCRIPT_DIR / "tmp", jobs: int = 4, retries: int = 3
json_url: str, download_path: Path, tmp_path: Path = SCRIPT_DIR / "tmp", jobs: int = 4, retries: int = 3
):
# Create directories
tmp_path.mkdir(parents=True, exist_ok=True)
download_file(
json_filename,
json_url,
NRW_JSON,
)
......@@ -120,4 +120,4 @@ def download_all_files(
if __name__ == "__main__":
download_all_files(NRW_SERVER + "index.json", SCRIPT_DIR / "citygml" / "nordrhein_westfalen")
download_all_files(NRW_SERVER + "index.json", SCRIPT_DIR / "citygml" / "nordrhein_westfalen", retries=2)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment