From 5405cb2fd29ec688c02e75a8f0e979cca998ac19 Mon Sep 17 00:00:00 2001 From: Vasco Tenner Date: Wed, 6 Feb 2019 14:39:24 +0100 Subject: Use also platform in find_so --- pymba/vimba_c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymba/vimba_c.py b/pymba/vimba_c.py index 33bee38..30b9d77 100644 --- a/pymba/vimba_c.py +++ b/pymba/vimba_c.py @@ -41,7 +41,7 @@ else: vimbaC_found = False for tlPath in [p for p in os.environ.get(genicam_path).split(":") if p]: vimba_dir = "/".join(tlPath.split("/")[1:-3]) - vimbaC_path = "/" + vimba_dir + "/VimbaC/DynamicLib/x86_64bit/libVimbaC.so" + vimbaC_path = "/" + vimba_dir + "/VimbaC/DynamicLib/" + platform + "/libVimbaC.so" if os.path.isfile(vimbaC_path): vimbaC_found = True break -- cgit v1.2.3