Skip to content

Commit

Permalink
write don't append for csv file lists
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Aug 16, 2024
1 parent b84b065 commit b5c615a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/list_backup_csvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

if save_list:
print(f'List saved to {save_list}.')
with open(save_list,'a') as f:
with open(save_list,'w') as f:
for key in log_csvs_list + verification_csvs_list:
f.write(f'{key}\n')

Expand Down

0 comments on commit b5c615a

Please sign in to comment.