--- a/bin/qgpibplotter Sat Jan 26 11:39:30 2008 +0100 +++ b/bin/qgpibplotter Sun Feb 03 23:39:27 2008 +0100 @@ -1,4 +1,8 @@ #!/usr/bin/python - -from plotter.qgpib_plotter import main +import sys, os +try: + from plotter.qgpib_plotter import main +except ImportError: + sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) + from plotter.qgpib_plotter import main main()