From 00d4f223cca7c57cc3280713f4f8e5460419b7e4 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Wed, 8 Nov 2023 23:35:32 +1000 Subject: [PATCH] upd ansi: add tg --- ansible.cfg | 4 ++-- plugins/callback/telegram.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index c4ffbb1..42749e3 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -13,5 +13,5 @@ callback_whitelist = telegram callbacks_enabled = telegram [callback_telegram] -tg_token = "6472915685:AAHPvgrQoqG7DxtfbnHWPe3Lfild-CGJ1j8" -tg_chat_id = "-4023350326" \ No newline at end of file +tg_token = 6472915685:AAHPvgrQoqG7DxtfbnHWPe3Lfild-CGJ1j8 +tg_chat_id = -4023350326 \ No newline at end of file diff --git a/plugins/callback/telegram.py b/plugins/callback/telegram.py index 6cc0aef..295409f 100644 --- a/plugins/callback/telegram.py +++ b/plugins/callback/telegram.py @@ -94,7 +94,6 @@ class CallbackModule(CallbackBase): super(CallbackModule, self).set_options(task_keys=task_keys, var_options=var_options, direct=direct) - print(self.get_option('tg_token')) self.tg_token = self.get_option('tg_token') self.tg_chat_id = self.get_option('tg_chat_id') self.socks5_uri = self.get_option('socks5_uri')