From 740564c493e5dc7b16255f933a7e2353dcd2c12f Mon Sep 17 00:00:00 2001 From: Thorsten Date: Thu, 4 Oct 2018 21:49:27 +0200 Subject: [PATCH] fix index --- distbot/plugins/plugin_help.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/distbot/plugins/plugin_help.py b/distbot/plugins/plugin_help.py index 5248baa..ace8928 100644 --- a/distbot/plugins/plugin_help.py +++ b/distbot/plugins/plugin_help.py @@ -4,7 +4,6 @@ import logging from distbot.bot.worker import Worker from distbot.common.action import Action -from distbot.common.config import conf_get logger = logging.getLogger(__name__) @@ -49,7 +48,7 @@ class Plugins(Worker): def build_reverse_lookup(self): reverse_lookup = {} for plugin, definition in self.plugin_storage.items(): - for key in definition['binding_keys']: + for key in definition['bindings']: if key.startswith("nick"): reverse_lookup[key.split('.')[1]] = plugin -- 2.39.2