def abort(data, total_students, current_student):
    pickle.dump(data, open(EXPORT_CACHE, "wb"))
    dl_left = total_students - current_student
    print("Download failed. Run the following command to continue:")
    print("    python3 ok --export")
    print("{0} submissions left to download.".format(dl_left))
dataset/ETHPy150Open Cal-CS-61A-Staff/ok-client/client/protocols/export.py/abort/original