fix vk api config loader
This commit is contained in:
parent
8ad4f95809
commit
a7b73ec050
@ -53,7 +53,7 @@ class DatabaseConfig(BaseConfig):
|
||||
def load(self, **kwargs):
|
||||
config._reload_maybe()
|
||||
try:
|
||||
settings = yaml.load(config.vk_auth)
|
||||
settings = yaml.load(config.vk_auth, yaml.Loader)
|
||||
if not settings:
|
||||
settings = {}
|
||||
except (ParserError, AttributeError):
|
||||
|
Loading…
Reference in New Issue
Block a user