fixed Config initialized via update method

This commit is contained in:
NichtJens
2021-06-01 09:20:35 +02:00
parent a026df3120
commit 650f7be38d

View File

@ -11,7 +11,7 @@ class Config(dict):
folder = Path.home()
self.fname = folder / fname
content = self._load()
super().update(content)
super().__init__(content)
def __setitem__(self, name, value):
self.update(**{name: value})