1
0

Fixed Kucoin address checker
Some checks failed
Run Python tests (through Pytest) / Test (push) Failing after 34s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 30s

This commit is contained in:
Jon Michael Aanes 2024-11-27 00:24:12 +01:00
parent 9fb6fb4ee6
commit fd8734b80a
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -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(),
)