Skip to content

Commit 8d81359

Browse files
author
Benjamin Moody
committed
Merge pull request #465 into main
Using os.sep on Windows fails here because we are specifically searching for "/" as a separator.
2 parents 2cdb44a + becf2b9 commit 8d81359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wfdb/io/record.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3049,7 +3049,7 @@ def dl_database(
30493049
for rec in record_list:
30503050
print("Generating record list for: " + rec)
30513051
# May be pointing to directory
3052-
if rec.endswith(os.sep):
3052+
if rec.endswith("/"):
30533053
nested_records += [
30543054
posixpath.join(rec, sr)
30553055
for sr in download.get_record_list(posixpath.join(db_dir, rec))

0 commit comments

Comments
 (0)