fedora-infra/tahrir — pull request #240 by oddshocks (2013-11-04 17:48:22+00:00)
Title: Fix TypeError that occured when viewing a user page when badges have not been awarded.

When viewing a profile page when badges have not been awarded, the system throws ``TypeError: float() argument must be a string or a number`` on the line ``percentile = (float(rank) / float(user_count)) * 100``.

This change should prevent that from happening.