From 26aa7e1fefe72de34578c627f258389d727d2285 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 9 Jun 2020 01:17:17 +0200 Subject: [PATCH] sources/ldap: fix 'LDAPSource' object has no attribute '_connection' --- passbook/sources/ldap/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/sources/ldap/models.py b/passbook/sources/ldap/models.py index 34fa96e56..4759463fb 100644 --- a/passbook/sources/ldap/models.py +++ b/passbook/sources/ldap/models.py @@ -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: