mirror of
https://github.com/devine-dl/devine.git
synced 2025-04-30 01:59:44 +00:00
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…
x
Reference in New Issue
Block a user