global loginDb,passwordDb
loginDb, passwordDb = message.text.split()
print(loginDb, passwordDb)
File "C:\Users\Матвей\Desktop\Проекты\dnevnik\botik.py", line 35, in auth
loginDb, passwordDb = message.text.split()
ValueError: too many values to unpack (expected 2)
try:
loginDb, passwordDb = message.text.split()
print(loginDb, passwordDb)
except ValueError:
print('Такого я не ожидал:', message.text)