upd ansi: add tg
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-11-08 23:35:32 +10:00
parent 562bcf51eb
commit 00d4f223cc
2 changed files with 2 additions and 3 deletions

View File

@ -13,5 +13,5 @@ callback_whitelist = telegram
callbacks_enabled = telegram callbacks_enabled = telegram
[callback_telegram] [callback_telegram]
tg_token = "6472915685:AAHPvgrQoqG7DxtfbnHWPe3Lfild-CGJ1j8" tg_token = 6472915685:AAHPvgrQoqG7DxtfbnHWPe3Lfild-CGJ1j8
tg_chat_id = "-4023350326" tg_chat_id = -4023350326

View File

@ -94,7 +94,6 @@ class CallbackModule(CallbackBase):
super(CallbackModule, self).set_options(task_keys=task_keys, var_options=var_options, direct=direct) 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_token = self.get_option('tg_token')
self.tg_chat_id = self.get_option('tg_chat_id') self.tg_chat_id = self.get_option('tg_chat_id')
self.socks5_uri = self.get_option('socks5_uri') self.socks5_uri = self.get_option('socks5_uri')