From 8b7738d8af3a470fd6c1d5615eb4b64fd6231bff Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 2 Apr 2023 16:35:35 +0200 Subject: Removed staging location altogether from design and config --- waterspout_radar/_config.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/waterspout_radar/_config.py b/waterspout_radar/_config.py index 5f946cf..36d9c0b 100644 --- a/waterspout_radar/_config.py +++ b/waterspout_radar/_config.py @@ -10,7 +10,6 @@ An example configuration file looks like this: [Storage] db = .waterspout/db.json - staging = .waterspout/staging.json [Locations] New York City @@ -33,7 +32,6 @@ class Config: key: str locations: typing.List[str] db: str - staging: str port: int @@ -62,7 +60,6 @@ def load(pathname: str="radar.conf") -> Config: errors.append(f"Config is missing required field: {pathname}: {section}: {name}") _load_key("Storage", "db", default="radar.json") - _load_key("Storage", "staging", default=raw["db"] + ".staging") _load_key("Windy", "key", required=True) _load_key("Web", "port", type=int) try: -- cgit v1.1