Commit 7c0f6cab authored by Eric Duminil's avatar Eric Duminil
Browse files

TODO?

parent b7da7eaf
import xml.etree.ElementTree as ET
from datetime import datetime
from pathlib import Path
from citygml_download import TMP_DIR, Bundesland, download_all_files, download_file
from zipfile_download import ZipFile
......
......@@ -20,6 +20,7 @@ class ZipFile(CityGMLWithDate):
with zipfile.ZipFile(self.path, "r") as main_zip:
# Flat extract, without directory
for zip_info in main_zip.infolist():
# TODO: Replace XML with GML?
if zip_info.is_dir():
continue
zip_info.filename = Path(zip_info.filename).name
......
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