Исправление формирования истории
This commit is contained in:
parent
20d46de4bd
commit
fd31db097d
2
main.py
2
main.py
@ -141,9 +141,9 @@ def check():
|
||||
limits = atmInfo['limits']
|
||||
for limit in limits:
|
||||
if limit['currency'] == 'USD':
|
||||
history.append(f'{datetime.now()}: {decoded["address"]} - Сумма: {limit["amount"]}$')
|
||||
for id in id_chats:
|
||||
bot.send_message(id, f'{decoded["address"]} - Сумма: {limit["amount"]}$')
|
||||
history.append(f'{datetime.now()}: {decoded["address"]} - Сумма: {limit["amount"]}$')
|
||||
count += 1
|
||||
last_check = datetime.now()
|
||||
time.sleep(600)
|
||||
|
Loading…
x
Reference in New Issue
Block a user