summaryrefslogtreecommitdiff
path: root/waterspout_radar
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-04-02 16:35:35 +0200
committerAki <please@ignore.pl>2023-04-02 16:35:35 +0200
commit8b7738d8af3a470fd6c1d5615eb4b64fd6231bff (patch)
tree30c686db4d765fbca3dd31648848e4065b5191c8 /waterspout_radar
parent9c99c24f9a19e42f5edf665138979f55bd766b41 (diff)
downloadwaterspout-radar-8b7738d8af3a470fd6c1d5615eb4b64fd6231bff.zip
waterspout-radar-8b7738d8af3a470fd6c1d5615eb4b64fd6231bff.tar.gz
waterspout-radar-8b7738d8af3a470fd6c1d5615eb4b64fd6231bff.tar.bz2
Removed staging location altogether from design and config
Diffstat (limited to 'waterspout_radar')
-rw-r--r--waterspout_radar/_config.py3
1 files changed, 0 insertions, 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: