Fixed missing variable exception
This commit is contained in:
parent
9a8f20317b
commit
a82911ea5d
|
@ -342,7 +342,7 @@ def import_ldap_users():
|
||||||
query_filter = None
|
query_filter = None
|
||||||
try:
|
try:
|
||||||
user_data = services.ldap.get_object_details(user=user_identifier, query_filter=query_filter)
|
user_data = services.ldap.get_object_details(user=user_identifier, query_filter=query_filter)
|
||||||
except AttributeError:
|
except AttributeError as e:
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
continue
|
continue
|
||||||
if user_data:
|
if user_data:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user