Use new config system

This commit is contained in:
Joscha 2019-05-16 11:51:39 +00:00
parent bc203aaff1
commit 6c4bfe2752
3 changed files with 34 additions and 19 deletions

View file

@ -91,6 +91,10 @@ class Config:
def view(self) -> "ConfigView":
return ConfigView(self.tree)
@property
def v(self) -> "ConfigView":
return self.view
@property
def tree(self) -> Any:
both = dict(self.default_fields)