summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-04-20 21:02:07 +0200
committerjomo <github@jomo.tv>2015-04-20 21:02:07 +0200
commit62569c736148aae34c9bafbfceb1033b88871daf (patch)
tree86487f30453978a779a54eb21e561a40e89228d3 /check.py
parent181c6ccfeb04f5030f0230dce93b8a76c43ecc56 (diff)
use https for ipinfo.io
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 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 {}