From 84e8b8afd6e168ae6e3fa2dd0a31e9566058240f Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 26 Apr 2021 00:00:38 +0300 Subject: fix --- ch1p/functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ch1p') diff --git a/ch1p/functions.py b/ch1p/functions.py index 7cc2a10..51335f8 100644 --- a/ch1p/functions.py +++ b/ch1p/functions.py @@ -20,8 +20,8 @@ def _get_vars(params: List[Tuple], kw: dict) -> List[AnyStr]: def telegram_notify(text: str, parse_mode: str = None, **kwargs): chat_id, token = _get_vars([ - ('chat_id', 'TELEGRAM_NOTIFY_CHAT_ID'), - ('token', 'TELEGRAM_NOTIFY_TOKEN') + ('chat_id', 'TELEGRAM_CHAT_ID'), + ('token', 'TELEGRAM_TOKEN') ], kwargs) data = { -- cgit v1.2.3