summaryrefslogtreecommitdiff
path: root/slixmpp/basexmpp.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-07-05 22:25:38 +0200
committermathieui <mathieui@mathieui.net>2021-07-05 22:25:38 +0200
commitf2d7e86fc7426d6bdda244a4f399c7930b5624cc (patch)
tree252fd52a3250e9cc1f724393cbf36b3472c4cb93 /slixmpp/basexmpp.py
parentfe1a325aa7249ec4a52f1f5d6fac86fcf1b22756 (diff)
downloadslixmpp-f2d7e86fc7426d6bdda244a4f399c7930b5624cc.tar.gz
slixmpp-f2d7e86fc7426d6bdda244a4f399c7930b5624cc.tar.bz2
slixmpp-f2d7e86fc7426d6bdda244a4f399c7930b5624cc.tar.xz
slixmpp-f2d7e86fc7426d6bdda244a4f399c7930b5624cc.zip
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.
Diffstat (limited to 'slixmpp/basexmpp.py')
-rw-r--r--slixmpp/basexmpp.py4
1 files changed, 2 insertions, 2 deletions
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.