From 3c58b8e8f6f888473b37b91cc604b22647bec686 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Mon, 5 May 2025 23:48:10 +0300 Subject: telegraf advanced tempalte working --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 20208ba..e4f72f3 100755 --- a/main.py +++ b/main.py @@ -5,7 +5,8 @@ import sys AVAILABLE_PLATFORMS = { "1": ("Nifi", nifi), - "2": ("Telegraf", telegraf)} + "2": ("Telegraf", telegraf) + } def list_platforms(): @@ -16,7 +17,7 @@ def list_platforms(): def main(): - ## Kontrolli kas platform andi käsureamuutujana + ## Kontrolli kas platform anti käsureamuutujana if len(sys.argv) >= 2: platform = sys.argv[1].lower() if platform not in ("telegraf", "nifi"): -- cgit v1.2.3