From c3f773cf87119675e8b0bfeae2de9edfc578d639 Mon Sep 17 00:00:00 2001 From: Alexey Nizhegolenko Date: Thu, 21 Jul 2022 17:43:55 +0300 Subject: [PATCH] Added missed GEOIPDB parsing from settings.ini --- geoparser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/geoparser.py b/geoparser.py index f77b581..05a41db 100755 --- a/geoparser.py +++ b/geoparser.py @@ -124,6 +124,7 @@ def main(): INFLUXUSERPASS = CONFIG.get('INFLUXDB1', 'password') elif INFLUXDB_VERSION == "2": # Getting params from config for version 2 + GEOIPDB = CONFIG.get('GEOIP', 'geoipdb') LOGPATH = CONFIG.get('NGINX_LOGS', 'logpath').split() URL = CONFIG.get('INFLUXDB2', 'url') INFLUXDBTOKEN = CONFIG.get('INFLUXDB2', 'token')