engine/process.py
def survey_initial(self, message):
        """Insert the survey name for a message/call sender.
           Return the proper answer."""
        cursor.execute(f"insert into {self.db}questions (id, survey, author) values (default, "
                       f"'{self.sub(message.text.lower())}', {message.from_user.id})")
        connection.commit()

        return answers['SURVEY_SAVED'] % self.sub(message.text)
Insert the survey name for a message/call sender.
           Return the proper answer.
Insert the survey name for a message/call sender.
Return the proper answer.
Insert the survey name for a message / call sender . Return the proper answer .
def survey_initial(self, message):
        cursor.execute(f"insert into {self.db}questions (id, survey, author) values (default, "
                       f"'{self.sub(message.text.lower())}', {message.from_user.id})")
        connection.commit()
        return answers['SURVEY_SAVED'] % self.sub(message.text)
def survey_initial ( self , message ) : cursor . execute ( f"insert into {self.db}questions (id, survey, author) values (default, " f"'{self.sub(message.text.lower())}', {message.from_user.id})" ) connection . commit ( ) return answers [ 'SURVEY_SAVED' ] % self . sub ( message . text )
Insert the survey name for a message/call sender.
Insert the survey name for a message / call sender .
"""Insert the survey name for a message/call sender.
           Return the proper answer."""
self
message