branch: elpa-admin
commit dfad2cf11f34c5e092b241b67b2f9f212729d687
Author: Stefan Monnier <monn...@iro.umontreal.ca>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    * elpa-admin.el (elpaa--html-make-index): Fix thinko
---
 elpa-admin.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index effdca8139..78cbe9d9fd 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -1977,7 +1977,8 @@ arbitrary code."
                         ;; Average rank over all the weeks' ranks.
                         ;; FIXME: Only use the more recent weeks?
                         (let* ((ranks (and (hash-table-p scores)
-                                           (gethash (car pkg) scores)))
+                                           (gethash (symbol-name (car pkg))
+                                                    scores)))
                                (total (apply #'+ (mapcar #'cdr ranks))))
                           (if (null ranks) "?"
                             (format "%d%%" (/ total (length ranks))))))))

Reply via email to