Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_object_details returning None #62

Closed
donndurk opened this issue Jul 16, 2019 · 1 comment
Closed

get_object_details returning None #62

donndurk opened this issue Jul 16, 2019 · 1 comment

Comments

@donndurk
Copy link

donndurk commented Jul 16, 2019

I can't get any results from get_object_details as an if statement on line 200 always fails.
Any help would be appreciated.

Python == 3.7.3
Flask-SimpleLDAP == 1.3.0

if type(records[0][1]) == 'dict' returns False. print(type(records[0][1])) outputs <class 'dict'>

It appears as though changing the line to if isinstance(records[0][1], dict): fixes the problem.

@alexferl
Copy link
Owner

Fixed in v1.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants