Commit 4626c80f authored by Maxime Buquet's avatar Maxime Buquet

xep_0384: otpk class doesn't need instancianting

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 6641404d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment