Bump black to 19.10b0 (#28310)
This commit is contained in:
parent
5b96704c4a
commit
04ab20846a
16 changed files with 54 additions and 38 deletions
|
@ -215,7 +215,11 @@ class TotpSetupFlow(SetupFlow):
|
|||
|
||||
else:
|
||||
hass = self._auth_module.hass
|
||||
self._ota_secret, self._url, self._image = await hass.async_add_executor_job(
|
||||
(
|
||||
self._ota_secret,
|
||||
self._url,
|
||||
self._image,
|
||||
) = await hass.async_add_executor_job(
|
||||
_generate_secret_and_qr_code, # type: ignore
|
||||
str(self._user.name),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue