Skip to content

Commit f8d0a68

Browse files
committed
fix: workaround for deeplx ssl issue
1 parent 8b92181 commit f8d0a68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pdf2zh/translator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ def do_translate(self, text):
287287
"target_lang": self.lang_out,
288288
"text": text,
289289
},
290+
verify=False, # noqa: S506
290291
)
291292
response.raise_for_status()
292293
return response.json()["data"]

0 commit comments

Comments
 (0)