From 4626c80ff38eab25126870bc3219e0b34697fe31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 31 Jan 2019 11:27:10 +0100 Subject: [PATCH] xep_0384: otpk class doesn't need instancianting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 34b172f..5bf19a0 100644 --- a/plugin.py +++ b/plugin.py @@ -152,7 +152,7 @@ class XEP_0384(BasePlugin): if self.storage_backend is None: storage = JSONFileStorage(self.data_dir) - otpkpolicy = self.otpk_policy() + otpkpolicy = self.otpk_policy bare_jid = self.xmpp.boundjid.bare self._device_id = _load_device_id(self.data_dir)