summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
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 3c634ed..368bb6a 100644
--- a/check.py
+++ b/check.py
@@ -13,7 +13,7 @@ def ip_info(player):
if player.isOnline():
return json.load(urllib2.urlopen("http://ipinfo.io%s/json" % str(player.getAddress().getAddress())))
else:
- return None
+ return {}
# receive first join date based on the player data (may not be accurate)