From 62569c736148aae34c9bafbfceb1033b88871daf Mon Sep 17 00:00:00 2001 From: jomo Date: Mon, 20 Apr 2015 21:02:07 +0200 Subject: use https for ipinfo.io --- check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check.py') diff --git a/check.py b/check.py index 2129a3b..90faa53 100644 --- a/check.py +++ b/check.py @@ -11,7 +11,7 @@ from helpers import * # receive info based on the user's IP. information provided by ipinfo.io def ip_info(player): if player.isOnline(): - return json.load(urllib2.urlopen("http://ipinfo.io%s/json" % str(player.getAddress().getAddress()))) + return json.load(urllib2.urlopen("https://ipinfo.io%s/json" % str(player.getAddress().getAddress()))) else: return {} -- cgit v1.2.3