Skip to content

Commit c064185

Browse files
author
liuhuiqi.7
committed
feat(ark cryptography dependancy): fix lint
Change-Id: I80d4ca17cba856c4a2065282bb4fbc50425e7956
1 parent 3853572 commit c064185

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

volcenginesdkarkruntime/_utils/_key_agreement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ class key_agreement_client():
7070
def __init__(self, certificate_pem_string: str) -> None:
7171
""" Load cert and extract public key
7272
"""
73-
__fixed_version__ = "43.0.3" # version check
73+
__fixed_version__ = "43.0.3" # version check
7474
from cryptography import __version__
7575
if __version__ != __fixed_version__:
7676
raise Exception("The cryptography package of Ark SDK only supports version {}, "
7777
"please install the cryptography package by using pip install cryptography=={}".
7878
format(__fixed_version__, __fixed_version__))
79-
79+
8080
pem_data = certificate_pem_string.encode()
8181
self._cert = x509.load_pem_x509_certificate(pem_data)
8282
cert_pub = self._cert.public_key().public_numbers()

0 commit comments

Comments
 (0)