Skip to content

Commit

Permalink
ensure bounty is open when advanced payout is done using tips
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Nov 5, 2019
1 parent 0050d1c commit ff8820d
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 @@ -721,7 +721,7 @@ def status(self):
is_traditional_bounty_type = self.project_type == 'traditional'
try:
has_tips = self.tips.filter(is_for_bounty_fulfiller=False).send_happy_path().exists()
if has_tips and is_traditional_bounty_type:
if has_tips and is_traditional_bounty_type and self.idx_status in ['cancelled'] :
return 'done'
if not self.is_open:
if self.accepted:
Expand Down

0 comments on commit ff8820d

Please sign in to comment.