Render the secret (#18793)

This commit is contained in:
Paulus Schoutsen 2018-11-29 22:17:01 +01:00 committed by Paulus Schoutsen
parent 0ca67bf6f7
commit fa9a200e3c

View File

@ -40,8 +40,8 @@ class OwnTracksFlow(config_entries.ConfigFlow):
if supports_encryption():
secret_desc = (
"The encryption key is {secret} "
"(on Android under preferences -> advanced)")
"The encryption key is {} "
"(on Android under preferences -> advanced)".format(secret))
else:
secret_desc = (
"Encryption is not supported because libsodium is not "