Skip to content

Commit

Permalink
reliablity rating
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Nov 11, 2019
1 parent bf5575c commit c43a47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2834,7 +2834,7 @@ def calc_reliability_ranking(self):

#calculate base rating
num_earnings = self.earnings.count() + self.sent_earnings.count()
if num_earnings == 0:
if num_earnings < 2:
return "Unproven"

if num_earnings > high_threshold:
Expand Down

0 comments on commit c43a47c

Please sign in to comment.