fix
This commit is contained in:
parent
8df147fd08
commit
ddb82c4269
@ -54,6 +54,8 @@ class DatabaseConfig(BaseConfig):
|
||||
config._reload_maybe()
|
||||
try:
|
||||
settings = yaml.load(config.vk_auth)
|
||||
if not settings:
|
||||
settings = {}
|
||||
except (ParserError, AttributeError):
|
||||
settings = {}
|
||||
settings.setdefault(self.section_name, {})
|
||||
|
Loading…
Reference in New Issue
Block a user