From e01252590377e5e7d4984dcc15fa04733b4f90f4 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 5 Jan 2018 11:15:07 +0100 Subject: Let user know what to do when library file could not be found Signed-off-by: Szczepan Zalega --- python_bindings_example.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python_bindings_example.py') 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 -- cgit v1.2.3