Skip to content

Commit

Permalink
correct installation commands display (#2065)
Browse files Browse the repository at this point in the history
  • Loading branch information
jingxu10 authored Sep 18, 2023
1 parent 7368440 commit 7a5fb3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _scripts/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ $(document).ready(function() {
}
ret += "<p>Prebuilt wheel files are available for Python " + value.python.join(", ") + ".";
if(value.commands.length == 1) {
ret += $.code_gen(value.commands);
ret += $.code_gen(value.commands[0]);
} else {
ret += $.notes_gen(["Should you experience low downloading speed issue, try choose another storage below."]);
ret += "<div class=\"row\" id=\"row-storage" + index + "\" style=\"width: 50%\">";
Expand Down Expand Up @@ -404,7 +404,7 @@ $(document).ready(function() {
if(data.installation.files.length == 1) {
var headers = [];
var values = [];
$.each(data.installation.files, function(index, value) {
$.each(data.installation.files[0], function(index, value) {
headers.push(value.abi);
var vs = [];
$.each(value.files, function(index, fn) {
Expand Down

0 comments on commit 7a5fb3b

Please sign in to comment.