result = cursor.execute(f"SELECT id FROM accounts WHERE uid = {messages.from_user}")
if result == None:
# Здесь код на добавление, юзера в бд
File "bots.py", line 13, in
for event in longpoll.listen():
File "C:\Users\DNS\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vk_api\longpoll.py", line 621, in listen
for event in self.check():
File "C:\Users\DNS\AppData\Local\Programs\Python\Python37-32\lib\site-packages\vk_api\longpoll.py", line 560, in check
timeout=self.wait + 10
TypeError: can only concatenate str (not "int") to str