bugfix
This commit is contained in:
parent
917e95150a
commit
b30303214e
@ -31,10 +31,10 @@ class AlipayGateway(Gateway):
|
||||
|
||||
# -------- load keys -------
|
||||
self._private_key = serialization.load_pem_private_key(
|
||||
app_private_key_pem.encode(), password=None
|
||||
app_private_key_pem, password=None
|
||||
)
|
||||
self._alipay_public_key = serialization.load_pem_public_key(
|
||||
alipay_public_key_pem.encode()
|
||||
alipay_public_key_pem
|
||||
)
|
||||
|
||||
self.session = aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=20))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user