aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generalresearch/managers/thl/cashout_method.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/generalresearch/managers/thl/cashout_method.py b/generalresearch/managers/thl/cashout_method.py
index 58a0585..32bda88 100644
--- a/generalresearch/managers/thl/cashout_method.py
+++ b/generalresearch/managers/thl/cashout_method.py
@@ -317,6 +317,8 @@ class CashoutMethodManager(PostgresManager):
if cashout_method.original_currency in {None, Currency.USD}:
exchange_rate = 1.0
else:
+ if cashout_method.original_currency not in usd_exchange_rate:
+ return None
exchange_rate = usd_exchange_rate[cashout_method.original_currency]
method_min_value_usd = USDCent(round(cashout_method.min_value * exchange_rate))