'åæ°æ®åºäž­åå¥äžäžªæ°çä»»å¡è®°åœ, å¹¶è¿åå®çfid'

def add_task_db(self, task, force=True):

    sql = 'INSERT    INTO    upload    (\n                                name,    source_path,    path,    size,    curr_size,    state,    state_name,\n                                human_size,    percent,    tooltip,    threshold)\n                                VALUES    (?,    ?,    ?,    ?,    ?,    ?,    ?,    ?,    ?,    ?,    ?)'
    req = self.cursor.execute(sql, task)
    self.check_commit(force=force)
    return req.lastrowid
