summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorDico200 <dico.karssiens@gmail.com>2015-05-05 16:50:48 +0200
committerDico200 <dico.karssiens@gmail.com>2015-05-05 16:50:48 +0200
commiteaf0f41746b027ae1951679f2c2824a1ab6502ba (patch)
tree5de4f64f499f7def4dd91aed8e00a680d393e463 /check.py
parent37dc80305fe870c564daa5603eb35ea627969ca8 (diff)
Revert "use https for ipinfo.io"
This reverts commit 62569c736148aae34c9bafbfceb1033b88871daf.
Diffstat (limited to 'check.py')
-rw-r--r--check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 90faa53..2129a3b 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("https://ipinfo.io%s/json" % str(player.getAddress().getAddress())))
+ return json.load(urllib2.urlopen("http://ipinfo.io%s/json" % str(player.getAddress().getAddress())))
else:
return {}