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"
|
form = "passbook.sources.ldap.forms.LDAPSourceForm"
|
||||||
|
|
||||||
_connection: Optional[Connection]
|
_connection: Optional[Connection] = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def connection(self) -> Connection:
|
def connection(self) -> Connection:
|
||||||
|
|
Reference in New Issue