diff options
author | jomo <github@jomo.tv> | 2015-04-20 21:02:07 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-04-20 21:02:07 +0200 |
commit | 62569c736148aae34c9bafbfceb1033b88871daf (patch) | |
tree | 86487f30453978a779a54eb21e561a40e89228d3 /check.py | |
parent | 181c6ccfeb04f5030f0230dce93b8a76c43ecc56 (diff) |
use https for ipinfo.io
Diffstat (limited to 'check.py')
-rw-r--r-- | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 {} |