Fix/update Backend._do_login() docstring

This commit is contained in:
miruka 2020-07-26 23:40:15 -04:00
parent 3ab2864f22
commit e611f89fe3

View File

@ -204,7 +204,7 @@ class Backend:
async def _do_login(self, client: MatrixClient, **login_kwargs) -> str: async def _do_login(self, client: MatrixClient, **login_kwargs) -> str:
"""Create and register the `MatrixClient`, login and return user ID.""" """Login on a client. If successful, register it and return user ID."""
try: try:
await client.login(**login_kwargs) await client.login(**login_kwargs)