Skip to content

Commit

Permalink
check bounty value is not none for lowball alert (#5461)
Browse files Browse the repository at this point in the history
  • Loading branch information
danlipert authored Nov 6, 2019
1 parent 8fa67b9 commit 71d5ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def is_lowball_bounty(bounty_value_usdt):
bool: True if bounty value is less than the threshold
"""
return bounty_value_usdt < settings.LOWBALL_BOUNTY_THRESHOLD
return bounty_value_usdt < settings.LOWBALL_BOUNTY_THRESHOLD if bounty_value_usdt else False


def process_bounty_changes(old_bounty, new_bounty):
Expand Down

0 comments on commit 71d5ff3

Please sign in to comment.