Skip to content

Commit

Permalink
csv_files
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Jul 1, 2024
1 parent 54a8a00 commit 651ada2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/compare_csv_file_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def compare_csv_file_lists(log_folder):
for csv_file in csv_files:
csv_file.replace("lsst-backup-logs-" + '{{ ds_nodash }}', "")
csv_file.replace(".csv", "")
csv_files = csv_files.sort()[-2:]
csv_files.sort()
csv_files = csv_files[-2:]

print(csv_files)

Expand Down

0 comments on commit 651ada2

Please sign in to comment.