'Saves cracked access point key and info to a file.'

def save_cracked(self, target):

    self.CRACKED_TARGETS.append(target)
    with open('cracked.csv', 'wb') as csvfile:
        targetwriter = csv.writer(csvfile, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL)
        for target in self.CRACKED_TARGETS:
            targetwriter.writerow([target.bssid, target.encryption, target.ssid, target.key, target.wps])
