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

Showing cleaner info about Bundesland

parent ae4593d7
...@@ -94,6 +94,12 @@ class Bundesland: ...@@ -94,6 +94,12 @@ class Bundesland:
def download_folder(self) -> Path: def download_folder(self) -> Path:
return DOWNLOAD_DIR / self.name.lower().replace("-", "_").replace("ü", "ue") return DOWNLOAD_DIR / self.name.lower().replace("-", "_").replace("ü", "ue")
def __str__(self) -> str:
return self.name
def __repr__(self) -> str:
return f"Bundesland({self.name})"
@dataclass @dataclass
class CityGML(ABC): class CityGML(ABC):
......
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