diff options
author | Rasmus Luha <rasmus.luha@ut.ee> | 2025-05-05 23:48:10 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@ut.ee> | 2025-05-05 23:48:10 +0300 |
commit | 3c58b8e8f6f888473b37b91cc604b22647bec686 (patch) | |
tree | 0404142e3e564597937591faed2f5d3342810802 /main.py | |
parent | ab4d535e4caf1d5fc1ed8097407b13bf8a0d98af (diff) |
telegraf advanced tempalte working
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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"): |