Merge branch 'develop' into refresh

Conflicts:
	plugins/factoids.py
	plugins/geoip.py
This commit is contained in:
Luke Rogers 2014-02-14 17:05:52 +13:00
commit 014c4bdc4b
26 changed files with 72 additions and 63 deletions

View file

@ -13,7 +13,7 @@ with open("./data/geoip_regions.json", "rb") as f:
regions = json.loads(f.read())
if os.path.isfile(os.path.abspath("./data/GeoLiteCity.dat")):
# initalise geolocation database
# initialise geolocation database
geo = pygeoip.GeoIP(os.path.abspath("./data/GeoLiteCity.dat"))
else:
download = http.get("http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz")