aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-03-31 14:41:49 +0100
committerGravatar shtlrs <[email protected]>2023-03-31 14:41:49 +0100
commitcaaa13f78d8e9a577a08d5b20847bdd597ef6a38 (patch)
treebdc65749a483f40c1fbee4950dd9b3dfce85d518 /botstrap.py
parentbring back the check of python help channel (diff)
return value from SilencedDict
Diffstat (limited to 'botstrap.py')
-rw-r--r--botstrap.py2
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(