PyPI downloads: proper "downloads" label.

This commit is contained in:
Thaddee Tyl 2014-01-22 09:55:26 +01:00
parent 0ecb22fd7b
commit 3aafa1a774

View File

@ -278,7 +278,7 @@ function(data, match, end, ask) {
return;
}
if (info === 'dm') {
var label = getLabel('downloads', data);
badgeData.text[0] = getLabel('downloads', data);
try {
var monthly = data.info.downloads.last_month;
} catch(e) {