From 7449e5c9086c01dace19ccf0aea42f314e428c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Wed, 27 Feb 2019 13:34:40 +0000 Subject: [PATCH] Remove wrong return types for now; Remove unused JID import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- examples/echo_client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/echo_client.py b/examples/echo_client.py index 5387f6f..c8d188c 100644 --- a/examples/echo_client.py +++ b/examples/echo_client.py @@ -17,7 +17,7 @@ import logging from getpass import getpass from argparse import ArgumentParser -from slixmpp import ClientXMPP, JID +from slixmpp import ClientXMPP from slixmpp.stanza import Message from slixmpp_omemo import PluginCouldNotLoad, MissingOwnKey, EncryptionPrepareException from slixmpp_omemo import UndecidedException, UntrustedException, NoAvailableSession @@ -131,7 +131,7 @@ class EchoBot(ClientXMPP): return None - async def plain_reply(self, original_msg, body) -> None: + async def plain_reply(self, original_msg, body): """ Helper to reply to messages """ @@ -142,7 +142,7 @@ class EchoBot(ClientXMPP): msg['body'] = body return msg.send() - async def encrypted_reply(self, original_msg, body) -> None: + async def encrypted_reply(self, original_msg, body): """Helper to reply with encrypted messages""" mto = original_msg['from']