Skip to content

Commit

Permalink
run linting
Browse files Browse the repository at this point in the history
  • Loading branch information
zansinergise committed Oct 24, 2023
1 parent 2e74c7c commit 189521d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rest/processing/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,6 @@ def create_or_get_estimate_values_from_db(job, batch_request_id):

def check_leftover_credits(estimated_pu):
leftover_credits = g.user.get_leftover_credits()
estimated_pu_as_credits = estimated_pu * 0.15 # platform credits === SH PU's * 0.15
estimated_pu_as_credits = estimated_pu * 0.15 # platform credits === SH PU's * 0.15
if leftover_credits is not None and leftover_credits < estimated_pu_as_credits:
raise InsufficientCredits()
raise InsufficientCredits()

0 comments on commit 189521d

Please sign in to comment.