From 943a7345117d0e1f53d4a2efdbacf203b4a23dfc Mon Sep 17 00:00:00 2001 From: Alexey Nizhegolenko Date: Thu, 21 Jul 2022 14:30:50 +0300 Subject: [PATCH] Fixing URL variable --- geoparser.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/geoparser.py b/geoparser.py index a9f333c..b464868 100755 --- a/geoparser.py +++ b/geoparser.py @@ -108,8 +108,6 @@ def main(): PWD = os.path.abspath(os.path.dirname(os.path.realpath(__file__))) CONFIG = configparser.ConfigParser() CONFIG.read(f'{PWD}/settings.ini') - KWARGS1 = {} - KWARGS2 = {} # Get the InfluxDB version so we can parse only needed part of config INFLUXDB_VERSION = CONFIG.get('INFLUXDB_VERSION', 'version') @@ -131,7 +129,8 @@ def main(): INFLUXDBBUCKET = CONFIG.get('INFLUXDB2', 'bucket') MEASUREMENT = CONFIG.get('INFLUXDB2', 'measurement') INFLUXDBORG = CONFIG.get('INFLUXDB2', 'organization') - + KWARGS1 = {} + KWARGS2 = {} # Parsing log file and sending metrics to Influxdb while True: logs = []