Skip to content

Commit

Permalink
Avoid extraneous newline
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdonline committed Nov 26, 2024
1 parent 6abadd7 commit 7c7efcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rebalance-corenrn-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def redistribute_files_dat(files_dat_file, n_buckets, max_entries=None, show_sta
with open(files_dat_file, "r") as file:
# read header
metadata["version"] = file.readline().strip()
n_entries = file.readline()
n_entries = file.readline().strip()

metadata["n_files"] = max_entries or n_entries

Expand Down

0 comments on commit 7c7efcb

Please sign in to comment.