Spelling, docstrings

This commit is contained in:
Luke Rogers 2014-02-14 16:49:41 +13:00
parent a76ff29d4b
commit 004ceb79fc
6 changed files with 7 additions and 5 deletions

View file

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