with open('data/accounts.txt', 'r') as file:
- lines = file.readlines()
+ line = file.readlines()[1]
- for x in lines:
- login, password = x.split(':')[0], x.split(':')[1]
+ login, password = x.split(':')
bot.send_message(message.chat.id, login + password)
with open('data/accounts.txt', 'r') as file:
line = file.readlines()[1]
login, password = x.split(':')
bot.send_message(message.chat.id, login + password)