From a7b73ec05029999752b273dda34ca89e451f8fe8 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 10 Apr 2022 00:37:52 +0300 Subject: [PATCH] fix vk api config loader --- feeds/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/utils.py b/feeds/utils.py index 6fbd85a..ebba1ac 100644 --- a/feeds/utils.py +++ b/feeds/utils.py @@ -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):