Skip to content

Commit 292c315

Browse files
committed
fix url
1 parent fde8a62 commit 292c315

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script/wheel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
url = 'https://pytorch-sparse.s3.eu-central-1.amazonaws.com/{}'
3434
for key, item in wheels_dict.items():
3535
version_html = html.format('\n'.join([
36-
href.format(url.format(i), '/'.join(i.split('/')[2:])) for i in item
36+
href.format(url.format(i.replace('+', '%2B')),
37+
'/'.join(i.split('/')[2:])) for i in item
3738
]))
3839

3940
with open('{}.html'.format(key), 'w') as f:

0 commit comments

Comments
 (0)