mirror of https://github.com/MISP/misp-modules
fixed typo
parent
a95af26424
commit
6dcc77ba5d
|
@ -20,7 +20,7 @@ moduleinfo = {'version': '0.1', 'author': 'Andreas Muehlemann',
|
||||||
|
|
||||||
# get current db from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
|
# get current db from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
config.read('./geoip_contry.cfg')
|
config.read('geoip_country.cfg')
|
||||||
gi = pygeoip.GeoIP(config.get('defaults', 'database'))
|
gi = pygeoip.GeoIP(config.get('defaults', 'database'))
|
||||||
|
|
||||||
def handler(q=False):
|
def handler(q=False):
|
||||||
|
|
Loading…
Reference in New Issue