Skip to content

Bogon check generates error if ip_address is None #74

Closed

Description

@alimanfoo

if is_bogon(ip_address):

The ip_address parameter is optional, but ValueError will be raised due to the bogon check here if ip_address is None.

Activity

  1. UmanShahzad commented on Nov 23, 2022

    @UmanShahzad
    Contributor

    Good find, thanks. @rm-Umar let's take care of that case and do a patch release ASAP!

  2. rm-Umar commented on Nov 24, 2022

    @rm-Umar
    Contributor

    @alimanfoo thank you for reporting, the issue is fixed in the new patch you can upgrade your package and it'll resolve your issue pip install ipinfo --upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions