def sendUniqueToDatabase(unique_ip_address, APPFOLDER, incident_id, conn):
    print(APPFOLDER)
    c = conn.cursor()
    for ip in unique_ip_address:
        c.execute('\n            INSERT INTO ipaddrs(ip,number_occurances,incident_id,\n                                start_time,end_time)\n            VALUES(?,?,?,?,?)\n            ', (ip.ip, ip.numOccurances, incident_id, ip.startTime, ip.endTime))
    conn.commit()
def sendUniqueToDatabase(unique_ip_address, APPFOLDER, incident_id, conn):
    print(APPFOLDER)
    c = conn.cursor()
    for ip in unique_ip_address:
        c.execute('\n            INSERT INTO ipaddrs(ip,number_occurances,incident_id,\n                                start_time,end_time)\n            VALUES(?,?,?,?,?)\n            ', (ip.ip, ip.numOccurances, incident_id, ip.startTime, ip.endTime))
    conn.commit()