more config guidance
This commit is contained in:
parent
2f706bacf6
commit
6ceaa89dad
@ -93,9 +93,13 @@ class ConfigFile:
|
||||
self.info(f"Loaded config from path: {self.__path}")
|
||||
|
||||
def _consume(self):
|
||||
|
||||
try:
|
||||
|
||||
try:
|
||||
|
||||
assert isinstance(self.__data, dict), (
|
||||
f"Config file should be a dict!"
|
||||
)
|
||||
|
||||
if "options" in self.__data.keys():
|
||||
|
||||
self.info(f"Found options setting")
|
||||
|
Loading…
Reference in New Issue
Block a user