From 5e21f844a0e5e447a2e7ab0526d352fb682d8e34 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Jun 2018 11:07:20 +0000 Subject: [PATCH] s/yaml.load/yaml.safe_load/ --- platypush/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/config/__init__.py b/platypush/config/__init__.py index bf5a7a51e..2e18687e0 100644 --- a/platypush/config/__init__.py +++ b/platypush/config/__init__.py @@ -108,7 +108,7 @@ class Config(object): config = {} with open(cfgfile, 'r') as fp: - file_config = yaml.load(fp) + file_config = yaml.safe_load(fp) for section in file_config: if section == 'include':