mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Correct global object name
This commit is contained in:
parent
f3dff47240
commit
ea7e9f1da1
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ class BaseAuthenticator(object):
|
|||
except IOError:
|
||||
logger.debug("unable to retrieve session", exc_info=1)
|
||||
raise MoulinetteError(errno.ENOENT,
|
||||
m18r.g('unable_retrieve_session'))
|
||||
m18n.g('unable_retrieve_session'))
|
||||
else:
|
||||
gpg = gnupg.GPG()
|
||||
gpg.encoding = 'utf-8'
|
||||
|
@ -161,5 +161,5 @@ class BaseAuthenticator(object):
|
|||
logger.error("unable to decrypt password for the session: %s",
|
||||
decrypted.status)
|
||||
raise MoulinetteError(errno.EINVAL,
|
||||
m18r.g('unable_retrieve_session'))
|
||||
m18n.g('unable_retrieve_session'))
|
||||
return decrypted.data
|
||||
|
|
Loading…
Reference in a new issue