fix: lint

This commit is contained in:
yihong0618 2023-03-12 22:57:39 +08:00
parent b2b95284b4
commit 84ef16e6b2

View File

@ -196,8 +196,18 @@ class ENCRYPTIONError(Exception):
def _load_crypto_libcrypto():
from ctypes import (CDLL, POINTER, Structure, c_char_p, c_int, c_long,
c_ulong, c_void_p, cast, create_string_buffer)
from ctypes import (
CDLL,
POINTER,
Structure,
c_char_p,
c_int,
c_long,
c_ulong,
c_void_p,
cast,
create_string_buffer,
)
from ctypes.util import find_library
if sys.platform.startswith("win"):