mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
doorlockd.py: avoid encoding warnings
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
be0ab6b58a
commit
153f066ef7
@ -320,7 +320,7 @@ def home():
|
||||
password = authentication_form.password.data
|
||||
credentials = AuthMethod.LDAP_USER_PW, user, password
|
||||
|
||||
log.info('Incoming request from %s' % user)
|
||||
log.info('Incoming request from %s' % user.encode('utf-8'))
|
||||
desired_state = authentication_form.desired_state
|
||||
log.info(' desired state: %s' % desired_state)
|
||||
log.info(' current state: %s' % logic.state)
|
||||
|
Loading…
Reference in New Issue
Block a user