Skip to content

Commit ca0040f

Browse files
committed
[S3_management] Fix subpackage urls
Make them `lower()`
1 parent 16b77c7 commit ca0040f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3_management/manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def to_simple_packages_html(
310310
out.append('<html>')
311311
out.append(' <body>')
312312
for pkg_name in sorted(self.get_package_names(subdir)):
313-
out.append(f' <a href="{pkg_name.replace("_","-")}/">{pkg_name.replace("_","-")}</a><br/>')
313+
out.append(f' <a href="{pkg_name.lower().replace("_","-")}/">{pkg_name.replace("_","-")}</a><br/>')
314314
# Adding html footer
315315
out.append(' </body>')
316316
out.append('</html>')

0 commit comments

Comments
 (0)