We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c98c9ff + 11efebb commit a2defa6Copy full SHA for a2defa6
wfdb/io/record.py
@@ -1242,7 +1242,7 @@ def get_version(pn_dir):
1242
1243
"""
1244
db_dir = pn_dir.split('/')[0]
1245
- url = posixpath.join(download.PN_CONTENT_URL, db_dir)
+ url = posixpath.join(download.PN_CONTENT_URL, db_dir) + '/'
1246
response = requests.get(url)
1247
contents = [line.decode('utf-8').strip() for line in response.content.splitlines()]
1248
version_number = [v for v in contents if 'Version:' in v]
0 commit comments