engine/process.py
def save_survey(self, message):
        """Control the message length. Save the survey name for
           a message/call sender."""
        if len(message.text) > 25:
            return True
        else:
            cursor.execute(f"update {self.db}user_state set survey = '{self.sub(message.text.lower())}' where "              
                           f"user_id = {message.from_user.id}")
            connection.commit()
Control the message length. Save the survey name for
           a message/call sender.
Control the message length. Save the survey name for
a message/call sender.
Control the message length . Save the survey name for a message / call sender .
def save_survey(self, message):
        if len(message.text) > 25:
            return True
        else:
            cursor.execute(f"update {self.db}user_state set survey = '{self.sub(message.text.lower())}' where "              
                           f"user_id = {message.from_user.id}")
            connection.commit()
def save_survey ( self , message ) : if len ( message . text ) > 25 : return True else : cursor . execute ( f"update {self.db}user_state set survey = '{self.sub(message.text.lower())}' where " f"user_id = {message.from_user.id}" ) connection . commit ( )
Control the message length.
Control the message length .
"""Control the message length. Save the survey name for
           a message/call sender."""
self
message