mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
fix: lint
This commit is contained in:
parent
b2b95284b4
commit
84ef16e6b2
@ -196,8 +196,18 @@ class ENCRYPTIONError(Exception):
|
|||||||
|
|
||||||
|
|
||||||
def _load_crypto_libcrypto():
|
def _load_crypto_libcrypto():
|
||||||
from ctypes import (CDLL, POINTER, Structure, c_char_p, c_int, c_long,
|
from ctypes import (
|
||||||
c_ulong, c_void_p, cast, create_string_buffer)
|
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
|
from ctypes.util import find_library
|
||||||
|
|
||||||
if sys.platform.startswith("win"):
|
if sys.platform.startswith("win"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user