diff options
Diffstat (limited to 'src/hydrilla/server')
-rw-r--r-- | src/hydrilla/server/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hydrilla/server/config.py b/src/hydrilla/server/config.py index e0cc186..1edd070 100644 --- a/src/hydrilla/server/config.py +++ b/src/hydrilla/server/config.py @@ -78,6 +78,7 @@ def load(config_paths: list[Path]=[here / 'config.json'], config = {} bools_missing = max(0, len(config_paths) - len(can_fail)) + config_paths = [*config_paths] can_fail = [*can_fail[:len(config_paths)], *([False] * bools_missing)] while config_paths: |