Browse Source

defaults should clobber

master
whut 1 year ago
parent
commit
fcea97019e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/confthing/__init__.py

+ 1
- 1
src/confthing/__init__.py View File

@@ -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)


Loading…
Cancel
Save