Skip to content

Commit 5543808

Browse files
committed
Do some refactoring
1 parent 533c12f commit 5543808

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6794,10 +6794,7 @@ def get_pdf_text(
67946794
constants.PipInstall.FINDLOCK
67956795
)
67966796
with pip_find_lock:
6797-
if (
6798-
sys.version_info >= (3, 7)
6799-
and sys.version_info < (3, 9)
6800-
):
6797+
if sys.version_info < (3, 9):
68016798
# Fix bug in newer cryptography for Python 3.7 and 3.8:
68026799
# "pyo3_runtime.PanicException: Python API call failed"
68036800
try:

0 commit comments

Comments
 (0)