Skip to content

Commit

Permalink
Update python library search logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-hunt committed Jun 24, 2021
1 parent 0023d03 commit b177b31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/cryptoauthlib/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ def load_cryptoauthlib(lib=None):
library_file = _force_local_library()
_CRYPTO_LIB = cdll.LoadLibrary(library_file)
except:
raise LibraryLoadError('Unable to find cryptoauthlib. You may need to reinstall')
try:
_CRYPTO_LIB = cdll.LoadLibrary(_force_local_library())
except:
raise LibraryLoadError('Unable to find cryptoauthlib. You may need to reinstall')



Expand Down

0 comments on commit b177b31

Please sign in to comment.