Skip to content

Commit 3b41bd6

Browse files
authored
Merge pull request #257 from MIT-LCP/fix_dl_254
Fixes download on Windows #254
2 parents 4d4c354 + 29ce6d2 commit 3b41bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wfdb/io/record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2738,7 +2738,7 @@ def rdrecord(record_name, sampfrom=0, sampto=None, channels=None,
27382738

27392739
# Read the header fields
27402740
if (pn_dir is not None) and ('.' not in pn_dir):
2741-
dir_list = pn_dir.split(os.sep)
2741+
dir_list = pn_dir.split('/')
27422742
pn_dir = posixpath.join(dir_list[0], get_version(dir_list[0]), *dir_list[1:])
27432743

27442744
if record_name.endswith('.edf'):

0 commit comments

Comments
 (0)