From 189521daca98da04ac8b05be48ebdb4fd61dead1 Mon Sep 17 00:00:00 2001 From: Zan Pecovnik Date: Tue, 24 Oct 2023 15:06:32 +0200 Subject: [PATCH] run linting --- rest/processing/processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest/processing/processing.py b/rest/processing/processing.py index ae5c7327..3a49e136 100644 --- a/rest/processing/processing.py +++ b/rest/processing/processing.py @@ -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() \ No newline at end of file + raise InsufficientCredits()