summaryrefslogtreecommitdiff
path: root/waterspout_radar
diff options
context:
space:
mode:
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: