X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fcore%2Fconfig.py;h=cd99ffc43ca3d7a5e841bed3ba6e05b037f5d0a3;hb=0ab6407f2b68db44fbcf07ff2764153e2a896eaf;hp=c4c39729c2f0fdebf8d4f35d9fe4d0661fb8ea44;hpb=5ac7c081ca13495185ecf6bdf302c16c25a4b759;p=osm%2FMON.git diff --git a/osm_mon/core/config.py b/osm_mon/core/config.py index c4c3972..cd99ffc 100644 --- a/osm_mon/core/config.py +++ b/osm_mon/core/config.py @@ -48,7 +48,7 @@ class Config: def get(self, section, field=None): if not field: return self.conf[section] - return self.conf[section][field] + return self.conf[section].get(field) def set(self, section, field, value): if section not in self.conf: