daemon: Format the file.

This commit is contained in:
Damir Jelić 2020-09-30 11:26:32 +02:00
parent 5ca755a944
commit d7089b91bd

View File

@ -553,7 +553,9 @@ class ProxyDaemon:
return user return user
async def start_pan_client(self, access_token, user, user_id, password, device_id=None): async def start_pan_client(
self, access_token, user, user_id, password, device_id=None
):
client = ClientInfo(user_id, access_token) client = ClientInfo(user_id, access_token)
self.client_info[access_token] = client self.client_info[access_token] = client
self.store.save_server_user(self.name, user_id) self.store.save_server_user(self.name, user_id)
@ -665,7 +667,9 @@ class ProxyDaemon:
f"User: {user} succesfully logged in, starting " f"User: {user} succesfully logged in, starting "
f"a background sync client." f"a background sync client."
) )
await self.start_pan_client(access_token, user, user_id, password, device_id) await self.start_pan_client(
access_token, user, user_id, password, device_id
)
return web.Response( return web.Response(
status=response.status, status=response.status,