sources/ldap: fix 'LDAPSource' object has no attribute '_connection'

This commit is contained in:
Jens Langhammer 2020-06-09 01:17:17 +02:00
parent 9495956fae
commit 26aa7e1fef

View file

@ -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: