diff options
author | Aki <please@ignore.pl> | 2023-04-02 17:16:39 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-04-02 17:16:39 +0200 |
commit | 35a2e4fbfad0a9282980c6f13dc96009c1906b5b (patch) | |
tree | 10992c63aa799827d88948e75fd935090420680a /waterspout_radar/_config.py | |
parent | 8b7738d8af3a470fd6c1d5615eb4b64fd6231bff (diff) | |
download | waterspout-radar-35a2e4fbfad0a9282980c6f13dc96009c1906b5b.zip waterspout-radar-35a2e4fbfad0a9282980c6f13dc96009c1906b5b.tar.gz waterspout-radar-35a2e4fbfad0a9282980c6f13dc96009c1906b5b.tar.bz2 |
Exploded naive prototype into modularized package
Diffstat (limited to 'waterspout_radar/_config.py')
-rw-r--r-- | waterspout_radar/_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waterspout_radar/_config.py b/waterspout_radar/_config.py index 36d9c0b..eaa6c58 100644 --- a/waterspout_radar/_config.py +++ b/waterspout_radar/_config.py @@ -39,7 +39,7 @@ class ConfigError(Exception): "Raised when configuration could not be loaded or was malformed." -def load(pathname: str="radar.conf") -> Config: +def load(pathname: str) -> Config: "Loads configuration from a file at *pathname*. May raise ConfigError when content does not meet expectations." config = configparser.ConfigParser(allow_no_value=True) config.read(pathname) |