From b46dc26a50e2464aa5a8ec6e614b5c272e09c8b2 Mon Sep 17 00:00:00 2001 From: Lars Gremme Date: Mon, 4 May 2020 18:23:22 +0200 Subject: [PATCH] Add more Descriptions --- plugins/Divera/Divera.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/Divera/Divera.py b/plugins/Divera/Divera.py index a8b0bb4..10d6e34 100644 --- a/plugins/Divera/Divera.py +++ b/plugins/Divera/Divera.py @@ -128,6 +128,8 @@ def run(typ, freq, data): # replace the wildcards text = wildcardHandler.replaceWildcards(text, data) title = wildcardHandler.replaceWildcards(title, data) + + # replace the wildcards in FMS; RIC is used for ZVEI/POC if typ == "FMS": vehicle = wildcardHandler.replaceWildcards(vehicle, data) else: @@ -136,10 +138,14 @@ def run(typ, freq, data): # Logging data to send logging.debug("Title : %s", title) + + # ZVEI, POC is logged, if not FMS is used if typ == "FMS": logging.debug("Vehicle : %s", vehicle) else: logging.debug("RIC : %s", ric) + + # Logging normal logging.debug("Text : %s", text) logging.debug("Priority: %s", priority)