From f2d7e86fc7426d6bdda244a4f399c7930b5624cc Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 5 Jul 2021 22:25:38 +0200 Subject: typing: add a bunch of type ignores because this is too smart for mypy and I do not want to rewrite those things right now. --- slixmpp/basexmpp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slixmpp/basexmpp.py') diff --git a/slixmpp/basexmpp.py b/slixmpp/basexmpp.py index b1115292..a74db5ac 100644 --- a/slixmpp/basexmpp.py +++ b/slixmpp/basexmpp.py @@ -264,9 +264,9 @@ class BaseXMPP(XMLStream): if not pconfig: pconfig = self.plugin_config.get(plugin, {}) - if not self.plugin.registered(plugin): + if not self.plugin.registered(plugin): # type: ignore load_plugin(plugin, module) - self.plugin.enable(plugin, pconfig) + self.plugin.enable(plugin, pconfig) # type: ignore def register_plugins(self): """Register and initialize all built-in plugins. -- cgit v1.2.3