def insert_task_many(self, script_data):
    conn = sqlite3.connect(self.dbname)
    conn.executemany('INSERT INTO scripts VALUES (?,?,?,?,?,?,?,?)', script_data)
    conn.commit()
    conn.close()
def insert_task_many(self, script_data):
    conn = sqlite3.connect(self.dbname)
    conn.executemany('INSERT INTO scripts VALUES (?,?,?,?,?,?,?,?)', script_data)
    conn.commit()
    conn.close()