@staticmethod
def storeDB(conn, hosts):
    """Overwrite the hosts in the table with the specified hosts (string) in the database."""
    c = conn.cursor()
    vals = []
    for host in hosts:
        vals.append((host,))
    c.execute('delete from host')
    c.executemany('insert into host(host) values (?)', iter(vals))
    c.close()
