X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fosm_ngsa%2Fosm_mon%2Fcore%2Fconfig.py;h=22b712f5485cf43fb92825c8d1896eee3d042e9a;hb=5ef23c09cb54cadf41835383b33d257c37324209;hp=eb0e4937fb4c9ee021e784c4622d048449946453;hpb=8d41d56d384249b8513d3465e66a163445482e6c;p=osm%2FNG-SA.git diff --git a/src/osm_ngsa/osm_mon/core/config.py b/src/osm_ngsa/osm_mon/core/config.py index eb0e493..22b712f 100644 --- a/src/osm_ngsa/osm_mon/core/config.py +++ b/src/osm_ngsa/osm_mon/core/config.py @@ -36,7 +36,7 @@ class Config: path = "config.yaml" config_file = pkg_resources.resource_filename(__name__, path) with open(config_file) as f: - self.conf = yaml.load(f) + self.conf = yaml.safe_load(f) def get(self, section, field=None): if not field: