1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-25 02:57:22 +00:00

Fixed missing variable exception

This commit is contained in:
Ozzieisaacs 2020-12-04 14:50:34 +01:00
parent 9a8f20317b
commit a82911ea5d

View File

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