upd decorator func names

This commit is contained in:
2024-02-08 15:27:15 +00:00
parent a62a46d61a
commit f3cf215a76
3 changed files with 10 additions and 10 deletions

View File

@@ -90,12 +90,12 @@ class Config(IConfig):
return f"{root}/solo"
@property
@util.from_db
@util.db_from
def level(self) -> float:
return self.getter("level")[0]
@level.setter
@util.to_db
@util.db_to
def level(self, val: float):
self.setter("level", val)