Style fixes

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-08-25 00:39:03 +02:00
parent 96e4ecf683
commit 545123773b
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -309,8 +309,7 @@ class XEP_0384(BasePlugin):
def _receive_device_list(self, msg: Message) -> None: def _receive_device_list(self, msg: Message) -> None:
"""Handler for received PEP OMEMO_DEVICES_NS payloads""" """Handler for received PEP OMEMO_DEVICES_NS payloads"""
asyncio.ensure_future( asyncio.ensure_future(
self._read_device_list(msg['from'], self._read_device_list(msg['from'], msg['pubsub_event']['items']),
msg['pubsub_event']['items']),
) )
async def _read_device_list(self, jid: JID, items: Union[Items, EventItems]) -> None: async def _read_device_list(self, jid: JID, items: Union[Items, EventItems]) -> None: