Fix message in vodynoi/gen_table.py
This commit is contained in:
parent
a0fa90c915
commit
7a4d80e140
3 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -18,3 +18,4 @@ lib64/
|
|||
pyvenv.cfg
|
||||
share/
|
||||
kaluga/lib64
|
||||
*/*.xlsx
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -25,7 +25,7 @@ def send_telegram():
|
|||
raise ValueError("Telegram токен или ID канала не заданы в .env")
|
||||
|
||||
url = f"https://api.telegram.org/bot{token}/sendDocument"
|
||||
comment = f"Начало: {from_str}\nКонец: {to_str}"
|
||||
comment = f"Начало: {from_formatted}\nКонец: {to_formatted}"
|
||||
with open(file_name, 'rb') as file:
|
||||
r = requests.post(url, data={
|
||||
"chat_id": channel_id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue