diff options
author | 2023-03-31 14:41:49 +0100 | |
---|---|---|
committer | 2023-03-31 14:41:49 +0100 | |
commit | caaa13f78d8e9a577a08d5b20847bdd597ef6a38 (patch) | |
tree | bdc65749a483f40c1fbee4950dd9b3dfce85d518 /botstrap.py | |
parent | bring back the check of python help channel (diff) |
return value from SilencedDict
Diffstat (limited to 'botstrap.py')
-rw-r--r-- | botstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/botstrap.py b/botstrap.py index d3462c122..ccf6993f5 100644 --- a/botstrap.py +++ b/botstrap.py @@ -49,7 +49,7 @@ class SilencedDict(dict): def __getitem__(self, item: str): try: - super().__getitem__(item) + return super().__getitem__(item) except KeyError: log.warning(f"Couldn't find key: {item} in dict: {self.name} ") log.warning( |