We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0023d03 commit b177b31Copy full SHA for b177b31
python/cryptoauthlib/library.py
@@ -99,7 +99,10 @@ def load_cryptoauthlib(lib=None):
99
library_file = _force_local_library()
100
_CRYPTO_LIB = cdll.LoadLibrary(library_file)
101
except:
102
- raise LibraryLoadError('Unable to find cryptoauthlib. You may need to reinstall')
+ try:
103
+ _CRYPTO_LIB = cdll.LoadLibrary(_force_local_library())
104
+ except:
105
+ raise LibraryLoadError('Unable to find cryptoauthlib. You may need to reinstall')
106
107
108
0 commit comments