Commit 29a071b1 authored by root's avatar root
Browse files

error marge

parent 5089ee64
......@@ -422,15 +422,14 @@ function findCondaPackage($os_name, $version_num, $version_name, $keyword, $limi
$values = $tr[$i]->childNodes[5]->childNodes;
if($values == null) {
if($values == null) {
continue;
}
}
$vv = $tr[$i]->getElementsByTagName('a')[1];
$name = $vv->childNodes[1]->nodeValue;
$version = $vv->childNodes[3]->nodeValue;
$description = cleanValue($values[2]->nodeValue);
$other = $tr[$i]->childNodes[3]->nodeValue;
$link = "https://anaconda.org/conda-forge/".$name;
......@@ -445,4 +444,4 @@ function findCondaPackage($os_name, $version_num, $version_name, $keyword, $limi
}
return $results;
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment