diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-01-05 11:15:07 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-01-05 11:15:07 +0100 |
commit | e01252590377e5e7d4984dcc15fa04733b4f90f4 (patch) | |
tree | 5bd16980820c06d93e3465a199e1ee85f38a20c8 /python_bindings_example.py | |
parent | 67fedbf575f864b9f420bac82fafe3d039b7e069 (diff) | |
download | libnitrokey-e01252590377e5e7d4984dcc15fa04733b4f90f4.tar.gz libnitrokey-e01252590377e5e7d4984dcc15fa04733b4f90f4.tar.bz2 |
Let user know what to do when library file could not be found
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'python_bindings_example.py')
-rwxr-xr-x | python_bindings_example.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python_bindings_example.py b/python_bindings_example.py index 6ddcbc4..a8f0dbb 100755 --- a/python_bindings_example.py +++ b/python_bindings_example.py @@ -60,6 +60,8 @@ def get_library(): print("File does not exist: " + p) if not C: print("No library file found") + print("Please set the path using LIBNK_PATH environment variable to existing library or compile it (see " + "README.md for details)") sys.exit(1) return C |