mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Use 'is None'
Co-Authored-By: alexAubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
e3f25ea630
commit
72e09e631f
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Authenticator(BaseAuthenticator):
|
|||
|
||||
@property
|
||||
def is_authenticated(self):
|
||||
if not self.con:
|
||||
if self.con is None:
|
||||
return False
|
||||
try:
|
||||
# Retrieve identity
|
||||
|
|
Loading…
Add table
Reference in a new issue