[F] AttributeError: 'dict' object has no attribute 'recolor_ascii'
This commit is contained in:
parent
d11796ef02
commit
85eaad14f2
4 changed files with 19 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ def check_config() -> Config:
|
|||
:return: Config object
|
||||
"""
|
||||
if CONFIG_PATH.is_file():
|
||||
return Config(**json.loads(CONFIG_PATH.read_text('utf-8')))
|
||||
return Config.from_dict(json.loads(CONFIG_PATH.read_text('utf-8')))
|
||||
|
||||
return create_config()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue