diff --git a/personal_data/fetchers/defi_kucoin.py b/personal_data/fetchers/defi_kucoin.py index 5aba22c..5452621 100644 --- a/personal_data/fetchers/defi_kucoin.py +++ b/personal_data/fetchers/defi_kucoin.py @@ -14,13 +14,10 @@ logger = logging.getLogger(__name__) def get_client(): - assert secrets.KUCOIN_KEY, 'Missing secret: KUCOIN_KEY' - assert secrets.KUCOIN_SECRET, 'Missing secret: KUCOIN_SECRET' - assert secrets.KUCOIN_PASS, 'Missing secret: KUCOIN_PASS' return kucoin.client.Client( - secrets.KUCOIN_KEY, - secrets.KUCOIN_SECRET, - secrets.KUCOIN_PASS, + secrets.kucoin_key(), + secrets.kucoin_secret(), + secrets.kucoin_pass(), )