From fcea97019ed72644a2d9e3611b9b2ef716cbf9d5 Mon Sep 17 00:00:00 2001 From: whut Date: Tue, 11 Oct 2022 16:01:08 -0500 Subject: [PATCH] defaults should clobber --- src/confthing/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/confthing/__init__.py b/src/confthing/__init__.py index a3c9248..9953f19 100644 --- a/src/confthing/__init__.py +++ b/src/confthing/__init__.py @@ -25,7 +25,7 @@ class Config: try: self.get(d, strict = True) except PathNotFoundError: - self.set(d, defaults[d]) + self.set(d, defaults[d], clobber = True) def split_path(self, path): return path.split(self.delimiter)