fixed more typos

pull/81/head
Andreas Muehlemann 6 years ago
parent 6dcc77ba5d
commit 6853d67a43
  1. 2
      misp_modules/modules/expansion/geoip_country.cfg
  2. 2
      misp_modules/modules/expansion/geoip_country.py

@ -1,2 +1,2 @@
[defaults]
[DEFAULT]
database=/opt/misp-modules/var/GeoIP.dat

@ -21,7 +21,7 @@ moduleinfo = {'version': '0.1', 'author': 'Andreas Muehlemann',
# get current db from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
config = configparser.ConfigParser()
config.read('geoip_country.cfg')
gi = pygeoip.GeoIP(config.get('defaults', 'database'))
gi = pygeoip.GeoIP(config.get('DEFAULT', 'database'))
def handler(q=False):
if q is False:

Loading…
Cancel
Save