aboutsummaryrefslogtreecommitdiff
path: root/examples/get_interface.py
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2019-01-29 13:35:38 +1100
committermorefigs <morefigs@gmail.com>2019-01-29 13:35:38 +1100
commit2d86dcf99782bc4aa2dc769bde87ef50769b9482 (patch)
tree0b8ae9bd3278fe91b6f47bae3784ff7281e62a0a /examples/get_interface.py
parentfe810f80b2571ec864afbd98a02c96720eeda43a (diff)
downloadpymba-2d86dcf99782bc4aa2dc769bde87ef50769b9482.tar.gz
pymba-2d86dcf99782bc4aa2dc769bde87ef50769b9482.zip
rename vimba as no longer import vimba module
Diffstat (limited to 'examples/get_interface.py')
-rw-r--r--examples/get_interface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/get_interface.py b/examples/get_interface.py
index 331f650..0465223 100644
--- a/examples/get_interface.py
+++ b/examples/get_interface.py
@@ -3,7 +3,7 @@ from pymba import Vimba
if __name__ == '__main__':
- with Vimba() as vmb:
+ with Vimba() as vimba:
# provide interface index or id
- interface = vmb.interface(0)
+ interface = vimba.interface(0)
print(interface)