We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2cdb44a + becf2b9 commit 8d81359Copy full SHA for 8d81359
1 file changed
wfdb/io/record.py
@@ -3049,7 +3049,7 @@ def dl_database(
3049
for rec in record_list:
3050
print("Generating record list for: " + rec)
3051
# May be pointing to directory
3052
- if rec.endswith(os.sep):
+ if rec.endswith("/"):
3053
nested_records += [
3054
posixpath.join(rec, sr)
3055
for sr in download.get_record_list(posixpath.join(db_dir, rec))
0 commit comments