Skip to content

Commit

Permalink
change to create upload records, not read
Browse files Browse the repository at this point in the history
  • Loading branch information
rae McCollum committed Feb 26, 2024
1 parent 98fea0e commit d4d5aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def nda_vt():
count = int(math.ceil(float(total) / max_batch_size ))
upload_record = source + '.uploaded_' + data_subset + '.upload'

with open(upload_record, 'r+') as upload_file:
with open(upload_record, 'a+') as upload_file:
file_list = [line.rstrip() for line in upload_file.readlines()]
print(file_list)

Expand Down

0 comments on commit d4d5aec

Please sign in to comment.