mirror of https://github.com/devine-dl/devine.git
parent
5301ac2924
commit
76671495b4
|
@ -74,6 +74,9 @@ class Config:
|
||||||
|
|
||||||
|
|
||||||
# noinspection PyProtectedMember
|
# noinspection PyProtectedMember
|
||||||
config = Config.from_yaml(Config._Directories.user_configs / Config._Filenames.root_config)
|
try:
|
||||||
|
config = Config.from_yaml(Config._Directories.user_configs / Config._Filenames.root_config)
|
||||||
|
except FileNotFoundError:
|
||||||
|
config = Config()
|
||||||
|
|
||||||
__ALL__ = (config,)
|
__ALL__ = (config,)
|
||||||
|
|
Loading…
Reference in New Issue