Skip to content

Commit a3a6756

Browse files
authored
Merge pull request MIT-LCP#265 from MIT-LCP/Lucas-Mc-patch-1
Fixes download fail on Windows MIT-LCP#262
2 parents c45329f + b585083 commit a3a6756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wfdb/io/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def get_record_list(db_dir, records='all'):
278278
279279
"""
280280
# Full url PhysioNet database
281-
if os.sep not in db_dir:
281+
if '/' not in db_dir:
282282
db_url = posixpath.join(config.db_index_url, db_dir, record.get_version(db_dir))
283283
else:
284284
db_url = posixpath.join(config.db_index_url, db_dir)

0 commit comments

Comments
 (0)