echo_client: fix wrong variable error
Thanks mathieui Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
59e82ec9ee
commit
38701075e9
1 changed files with 2 additions and 2 deletions
|
@ -262,13 +262,13 @@ class EchoBot(ClientXMPP):
|
|||
device_list.append(error.device)
|
||||
except (IqError, IqTimeout) as exn:
|
||||
self.plain_reply(
|
||||
mto, mfrom,
|
||||
mto, mtype,
|
||||
'An error occured while fetching information on a recipient.\n%r' % exn,
|
||||
)
|
||||
return None
|
||||
except Exception as exn:
|
||||
await self.plain_reply(
|
||||
mto, mfrom,
|
||||
mto, mtype,
|
||||
'An error occured while attempting to encrypt.\n%r' % exn,
|
||||
)
|
||||
raise
|
||||
|
|
Loading…
Reference in a new issue