moved files

This commit is contained in:
Nicholas St. Germain 2018-12-01 17:51:28 -06:00
parent 7422d0a029
commit e68dfbe9bb
2 changed files with 2 additions and 2 deletions

View file

@ -278,7 +278,7 @@ def geoip_download():
for files in tar.getmembers():
if 'GeoLite2-City.mmdb' in files.name:
files.name = os.path.basename(files.name)
tar.extract(files, abspath(join('..', 'data')))
tar.extract(files, abspath(join('.', 'data')))
os.remove(tar_dbfile)
def geo_lookup(ipaddress):

View file

@ -28,7 +28,7 @@ class INIParser(object):
self.parse_opts()
def read_file(self):
file_path = abspath(join('..', 'data', 'varken.ini'))
file_path = abspath(join('.', 'data', 'varken.ini'))
with open(file_path) as config_ini:
self.config.read_file(config_ini)