sources/ldap: fix 'LDAPSource' object has no attribute '_connection'
This commit is contained in:
parent
9495956fae
commit
26aa7e1fef
|
@ -55,7 +55,7 @@ class LDAPSource(Source):
|
|||
|
||||
form = "passbook.sources.ldap.forms.LDAPSourceForm"
|
||||
|
||||
_connection: Optional[Connection]
|
||||
_connection: Optional[Connection] = None
|
||||
|
||||
@property
|
||||
def connection(self) -> Connection:
|
||||
|
|
Reference in a new issue