-
Notifications
You must be signed in to change notification settings - Fork 6
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
'_build_query_href' method AttributeError #20
Comments
whatabeautifulmemory
changed the title
AttributeError on '_build_query_href' method
'_build_query_href' method AttributeError
Dec 29, 2022
pogzyb
added a commit
that referenced
this issue
Dec 29, 2022
Fixes #20. This change makes sure that ipaddress objects are converted to strings before doing string concatentation.
Thank you for finding this bug! I think I solved the issue in #21 . I'm doing some more testing before merging. I will put out a release for version 0.1.7 with this fix today or tomorrow. Thanks again. |
Merged
thank you! it works perfectly! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in rare cases, an 'IPv4Address' object is given instead of the 'str' to '_build_query_href' method.
line 444, in _build_query_href
href = posixpath.join(rdap_href, 'ip', target.lstrip('/'))
AttributeError: 'IPv4Address' object has no attribute 'lstrip'
The text was updated successfully, but these errors were encountered: