self.cur.execute(self.cur.execute('UPDATE users SET firstname='+ message.text + ' WHERE id=' + str(message.chat.id)))
sqlite3.OperationalError: near "sdfG": syntax error
def set_name(self, message):
self.cur.execute(self.cur.execute('UPDATE users SET firstname='+ message.text + ' WHERE id=' + str(message.chat.id)))
self.con.commit()
return