Skip to content

Commit c066152

Browse files
committed
Version 0.10.0
1 parent b74ed89 commit c066152

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

oqs/oqs.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def oqs_python_version():
3030

3131
# liboqs-python tries to automatically install and load this liboqs version in
3232
# case no other version is found
33-
REQUIRE_OQS_VERSION = oqs_python_version()
33+
OQS_VERSION = oqs_python_version()
3434

3535

3636
def _countdown(seconds):
@@ -120,9 +120,7 @@ def _load_liboqs():
120120
assert _liboqs
121121
except RuntimeError:
122122
# We don't have liboqs, so we try to install it automatically
123-
_install_liboqs(
124-
target_directory=oqs_install_dir, oqs_version=REQUIRE_OQS_VERSION
125-
)
123+
_install_liboqs(target_directory=oqs_install_dir, oqs_version=OQS_VERSION)
126124
# Try loading it again
127125
try:
128126
_liboqs = _load_shared_obj(

0 commit comments

Comments
 (0)