diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-10-11 10:26:55 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-10-11 13:12:11 +0200 |
commit | 0c8d70daae4c4dfc989edad465db94ffc665416d (patch) | |
tree | 86f1b23e863b2dae1efd00686d46890b4b72ccb2 /src/hydrilla/server/config.py | |
parent | 9074d98f711b6ccc099df8bccb1ed28390bcf0da (diff) | |
download | haketilo-hydrilla-0c8d70daae4c4dfc989edad465db94ffc665416d.tar.gz haketilo-hydrilla-0c8d70daae4c4dfc989edad465db94ffc665416d.zip |
[builder][server] restore compatibility with python 3.7
Diffstat (limited to 'src/hydrilla/server/config.py')
-rw-r--r-- | src/hydrilla/server/config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hydrilla/server/config.py b/src/hydrilla/server/config.py index 51eb875..c0b1c5c 100644 --- a/src/hydrilla/server/config.py +++ b/src/hydrilla/server/config.py @@ -77,9 +77,9 @@ config_schema = { here = Path(__file__).resolve().parent -def load(config_paths: list[Path]=[here / 'config.json'], - can_fail: list[bool]=[]) -> dict: - config: dict[str, t.Any] = {} +def load(config_paths: t.List[Path]=[here / 'config.json'], + can_fail: t.List[bool]=[]) -> t.Dict[str, t.Any]: + config: t.Dict[str, t.Any] = {} bools_missing = max(0, len(config_paths) - len(can_fail)) config_paths = [*config_paths] |