We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50bb84b commit 9cb9381Copy full SHA for 9cb9381
zbxtg.py
@@ -568,8 +568,15 @@ def main():
568
do_not_exit = True
569
print_message("Settings: " + str(json.dumps(settings, indent=2)))
570
571
+ # acknowledge message, agrh
572
+ # https://github.com/ableev/Zabbix-in-Telegram/issues/130
573
+ elif len(args) == 3: # probably someone acknowledges a problem
574
+ do_not_exit = True
575
+ args.append("")
576
+
577
else:
578
print(("Hi. You should provide at least three arguments.\n"
579
+ "zbxtg.py [TO] [SUBJECT] [BODY]\n\n"
580
"1. Read main page and/or wiki: {0} + {1}\n"
581
"2. Public Telegram group (discussion): {2}\n"
582
"3. Public Telegram channel: {3}\n"
0 commit comments