summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2018-12-16 14:57:35 +0000
committerMaxime “pep” Buquet <pep@bouah.net>2019-12-27 18:56:27 +0100
commitf13587a386d8d10629bce00c4d81bf11e2d08c22 (patch)
treecb147090265f880eae6e21797ff4767f02d1594c
parent4ab6e64437123c56336eec5d51d079d83f966a65 (diff)
downloadpoezio-f13587a386d8d10629bce00c4d81bf11e2d08c22.tar.gz
poezio-f13587a386d8d10629bce00c4d81bf11e2d08c22.tar.bz2
poezio-f13587a386d8d10629bce00c4d81bf11e2d08c22.tar.xz
poezio-f13587a386d8d10629bce00c4d81bf11e2d08c22.zip
omemo: remove unused imports and reorder them
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--plugins/omemo_plugin.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py
index df839fc4..10988435 100644
--- a/plugins/omemo_plugin.py
+++ b/plugins/omemo_plugin.py
@@ -11,18 +11,19 @@
import os
import asyncio
-import textwrap
+import logging
+from typing import List, Optional
+
from poezio.plugin import BasePlugin
from poezio.tabs import ConversationTab
from poezio.xdg import DATA_HOME
+
from slixmpp import JID
from slixmpp.plugins.xep_0384.plugin import MissingOwnKey
-from typing import List, Optional
-
-import logging
log = logging.getLogger(__name__)
+
class Plugin(BasePlugin):
def init(self):
self.info = lambda i: self.api.information(i, 'Info')