bin/dump_datablock

changeset 40
1bbea188a7e5
parent 14
07e2cbf140df
--- a/bin/dump_datablock	Mon Feb 04 19:49:48 2008 +0100
+++ b/bin/dump_datablock	Tue Feb 05 18:59:29 2008 +0100
@@ -1,4 +1,9 @@
 #!/usr/bin/python
 
-from HP3562A.dump_datablock import main
+import sys, os
+try:
+    from pygpibtoolkit.HP3562A.dump_datablock import main
+except ImportError:
+    sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
+    from pygpibtoolkit.HP3562A.dump_datablock import main
 main()

mercurial