Research suggests _config and config are not synonymous

This commit is contained in:
Evelyn 2018-10-06 22:58:59 +01:00
parent 9c15431925
commit 661199aa54

View file

@ -18,5 +18,5 @@ class Config(object):
def get(self, key, default=None):
return self._config.get(key, default)
def __contains__(self, key):
return key in self.config
return key in self._config