Commits

Erik Romijn committed cb86bd0

fix percentage calculation

  • Participants
  • Parent commits 49b5e0c

Comments (0)

Files changed (1)

File ponycheckup/check/models.py

     @property
     def secure_percentage(self):
         # worst is 10, best is 0
-        return int(100-round(9*self.no_of_recommendations))
+        return int(100-round(11.11111*self.no_of_recommendations))
 
 
     @property