mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-02 04:16:19 +00:00
LGTM fixes
This commit is contained in:
@ -326,7 +326,6 @@ def signin_history(username, authenticator, success):
|
||||
request_ip = request.remote_addr
|
||||
|
||||
# Write log
|
||||
str_success = 'succeeded' if success else 'failed'
|
||||
if success:
|
||||
str_success = 'succeeded'
|
||||
current_app.logger.info(
|
||||
|
Reference in New Issue
Block a user