Merge branch 'develop' into refresh
Conflicts: plugins/factoids.py plugins/geoip.py
This commit is contained in:
commit
014c4bdc4b
26 changed files with 72 additions and 63 deletions
|
@ -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")
|
||||
|
|
Reference in a new issue