Render the secret (#18793)

This commit is contained in:
Paulus Schoutsen 2018-11-29 22:17:01 +01:00 committed by GitHub
parent e50a6ef8af
commit ca74f5efde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 "