mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-29 16:55:32 +00:00
Use %r instead of %s in format string
This commit is contained in:
parent
b1206cbd65
commit
0b79d1650c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ from radicale.auth import BaseAuth
|
|||
|
||||
class Auth(BaseAuth):
|
||||
def is_authenticated(self, user, password):
|
||||
self.logger.info("Login attempt by '%s' with password '%s'",
|
||||
self.logger.info("Login attempt by %r with password %r",
|
||||
user, password)
|
||||
return user == password
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue