From 2d992171e19c525964c0e93efdaf1201f5174d39 Mon Sep 17 00:00:00 2001 From: ipapi-co Date: Wed, 15 Feb 2017 12:07:54 +0530 Subject: [PATCH] fix package errors for Python 3 --- ipapi/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ipapi/__init__.py b/ipapi/__init__.py index d47ca19..dabaffa 100644 --- a/ipapi/__init__.py +++ b/ipapi/__init__.py @@ -1,3 +1,2 @@ - -from ipapi import location - +__all__ = ['ipapi'] +from .ipapi import location