Spelling, docstrings
This commit is contained in:
parent
a76ff29d4b
commit
004ceb79fc
6 changed files with 7 additions and 5 deletions
|
@ -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")
|
||||
|
|
Reference in a new issue