Skip to content

Commit

Permalink
fix library_version in python wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
  • Loading branch information
andrewwhitehead committed Jan 30, 2024
1 parent 331c459 commit afd4333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrappers/python/anoncreds/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ def get_library() -> CDLL:
def library_version() -> str:
"""Get the version of the installed aries-askar library."""
lib = get_library()
lib.anoncreds_version.restype = c_void_p
return str(StrBuffer(lib.anoncreds_version()))
lib.anoncreds_version.restype = StrBuffer
return str(lib.anoncreds_version())


def _load_library(lib_name: str) -> CDLL:
Expand Down

0 comments on commit afd4333

Please sign in to comment.