From e5d11b74afd2af3122589fc60fceb1c70a44c14d Mon Sep 17 00:00:00 2001 From: Jan Speller Date: Mon, 24 Feb 2020 22:07:23 +0100 Subject: [PATCH] threads --- docu/docs/modul/geocoding.md | 4 +++- module/geocoding.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docu/docs/modul/geocoding.md b/docu/docs/modul/geocoding.md index eb69eff..8f7d1f5 100644 --- a/docu/docs/modul/geocoding.md +++ b/docu/docs/modul/geocoding.md @@ -44,7 +44,9 @@ geoRegex|Regex Capture-Group zum Herausfiltern der Adresse| --- ## Paket Modifikationen -- Im Paket werden die Felder `lat` und `lon` hinterlegt +- `address`: gefundene Adresse +- `lat`: Latitude der Adresse +- `lon`: Longitude der Adresse --- ## Zusätzliche Wildcards diff --git a/module/geocoding.py b/module/geocoding.py index c6cb8c5..c8e2f3c 100644 --- a/module/geocoding.py +++ b/module/geocoding.py @@ -50,7 +50,7 @@ class BoswatchModule(ModuleBase): provider = self.config.get("apiProvider") if addressArray[1] is None: - logging.warning("Address was not found in current Message, skipping geocoding") + logging.info("No address found, skipping geocoding") return bwPacket address = addressArray[1]