diff --git a/src/Config.py b/src/Config.py index 1c93bf37..a65893c8 100644 --- a/src/Config.py +++ b/src/Config.py @@ -29,9 +29,11 @@ class Config(object): return self._config[key] def __setitem__(self, key: str, value: str): self._config[key] = value - - def get(self, key: str, default: typing.Any=None) -> typing.Any: - return self._config.get(key, default) + def __delitem__(self, key: str): + self._config.__delitem__(key) def __contains__(self, key: str) -> bool: return key in self._config + def get(self, key: str, default: typing.Any=None) -> typing.Any: + return self._config.get(key, default) +