'ä»æ°æ®åºäž­æ¥è¯¢source_pathçä¿¡æ¯.
åŠææ²¡æçè¯, å°±è¿åNone'

def get_task_db(self, source_path):

    sql = 'SELECT    *    FROM    upload    WHERE    source_path=?'
    req = self.cursor.execute(sql, [source_path])
    if req:
        return req.fetchone()
    else:
        None
