defaults should clobber

This commit is contained in:
whut 2022-10-11 16:01:08 -05:00
parent 9a594a367b
commit fcea97019e

View File

@ -25,7 +25,7 @@ class Config:
try: try:
self.get(d, strict = True) self.get(d, strict = True)
except PathNotFoundError: except PathNotFoundError:
self.set(d, defaults[d]) self.set(d, defaults[d], clobber = True)
def split_path(self, path): def split_path(self, path):
return path.split(self.delimiter) return path.split(self.delimiter)