aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2017-12-02 12:36:04 +1100
committerGitHub <noreply@github.com>2017-12-02 12:36:04 +1100
commitf574f1f4c0903e25d5e69edf83b02f378360bd3c (patch)
tree7bdb5fbbc78352a7d1925722f256be79275a9c45
parent7059da91f84547a18afab8d2d87349aa63cbd782 (diff)
parent34189b07e24dd54cc4e0fefcc383a4a5a316cc7a (diff)
downloadpymba-f574f1f4c0903e25d5e69edf83b02f378360bd3c.tar.gz
pymba-f574f1f4c0903e25d5e69edf83b02f378360bd3c.zip
Merge pull request #62 from jerrosenberg/master
Fixes #61 vimbadll locator should use 64-bit environment variable for aarch64
-rw-r--r--pymba/vimbadll.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pymba/vimbadll.py b/pymba/vimbadll.py
index 5ea0288..fb49fec 100644
--- a/pymba/vimbadll.py
+++ b/pymba/vimbadll.py
@@ -64,7 +64,7 @@ else:
elif 'aarch64' in os.uname()[4]:
assert os.environ.get(
"GENICAM_GENTL64_PATH"), "you need your GENICAM_GENTL64_PATH environment set. Make sure you have Vimba installed, and you have loaded the /etc/profile.d/ scripts"
- tlPath = [p for p in os.environ.get("GENICAM_GENTL32_PATH").split(":") if p][0]
+ tlPath = [p for p in os.environ.get("GENICAM_GENTL64_PATH").split(":") if p][0]
vimba_dir = "/".join(tlPath.split("/")[1:-3])
vimbaC_path = "/" + vimba_dir + "/VimbaC/DynamicLib/arm_64bit/libVimbaC.so"
else: