From fd8734b80a4054e4ae653b737513f08a3066234a Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Wed, 27 Nov 2024 00:24:12 +0100 Subject: [PATCH] Fixed Kucoin address checker --- personal_data/fetchers/defi_kucoin.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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(), )