aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-04-26 00:00:38 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-04-26 00:00:38 +0300
commit84e8b8afd6e168ae6e3fa2dd0a31e9566058240f (patch)
tree3c628cffe385348717c3d01b62f256dd210ba4a4
parentfcf6e3fd60373ba1078133ea58beeeff7931219e (diff)
fix
-rw-r--r--ch1p/functions.py4
-rw-r--r--setup.cfg2
2 files changed, 3 insertions, 3 deletions
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 = {
diff --git a/setup.cfg b/setup.cfg
index 3d14958..ac92132 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = ch1p
-version = 0.0.4
+version = 0.0.5
author = Evgeny Zinoviev
author_email = me@ch1p.io
description =