mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] typo, created a tuple instead of a string
This commit is contained in:
parent
bce7aee510
commit
a22208ce40
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class BaseAuthenticator(object):
|
||||||
|
|
||||||
decrypted = gpg.decrypt(enc_pwd, passphrase=session_hash)
|
decrypted = gpg.decrypt(enc_pwd, passphrase=session_hash)
|
||||||
if decrypted.ok is not True:
|
if decrypted.ok is not True:
|
||||||
error_message = "unable to decrypt password for the session: %s", decrypted.status
|
error_message = "unable to decrypt password for the session: %s" % decrypted.status
|
||||||
logger.error(error_message)
|
logger.error(error_message)
|
||||||
raise MoulinetteError('unable_retrieve_session', exception=error_message)
|
raise MoulinetteError('unable_retrieve_session', exception=error_message)
|
||||||
return decrypted.data
|
return decrypted.data
|
||||||
|
|
Loading…
Add table
Reference in a new issue