mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-24 18:47:23 +00:00
Fixed missing variable exception
This commit is contained in:
parent
9a8f20317b
commit
a82911ea5d
@ -342,7 +342,7 @@ def import_ldap_users():
|
||||
query_filter = None
|
||||
try:
|
||||
user_data = services.ldap.get_object_details(user=user_identifier, query_filter=query_filter)
|
||||
except AttributeError:
|
||||
except AttributeError as e:
|
||||
log.exception(e)
|
||||
continue
|
||||
if user_data:
|
||||
|
Loading…
Reference in New Issue
Block a user