From 6c1831313fdcb23b0450b578236262ffbc54ddfb Mon Sep 17 00:00:00 2001 From: ipapi-co Date: Wed, 15 Feb 2017 12:07:34 +0530 Subject: [PATCH] print compatible with Python 3 --- ipapi/ipapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipapi/ipapi.py b/ipapi/ipapi.py index 476e352..40e5a94 100644 --- a/ipapi/ipapi.py +++ b/ipapi/ipapi.py @@ -56,7 +56,7 @@ def main(argv=None): parser.add_argument('-k', '--key', dest='key', help='API key', default=None) args = parser.parse_args(argv) - print location(args.ip, args.key, args.field) + print (location(args.ip, args.key, args.field)) if __name__ == "__main__":