From f12860bfad5e559177048845a605f750e9418c2f Mon Sep 17 00:00:00 2001 From: nicoco Date: Sun, 4 Jun 2023 14:06:31 +0200 Subject: [PATCH] fix misleading error msg plugins.__all__ became plugins.PLUGINS a few commits ago --- slixmpp/basexmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp/basexmpp.py b/slixmpp/basexmpp.py index c0da516f..db9630b0 100644 --- a/slixmpp/basexmpp.py +++ b/slixmpp/basexmpp.py @@ -285,7 +285,7 @@ class BaseXMPP(XMLStream): if plugin in plugins.PLUGINS: self.register_plugin(plugin) else: - raise NameError("Plugin %s not in plugins.__all__." % plugin) + raise NameError("Plugin %s not in plugins.PLUGINS." % plugin) def __getitem__(self, key): """Return a plugin given its name, if it has been registered."""