bin/qgpibplotter

Mon, 04 Jun 2018 22:27:41 +0200

author
David Douard <david.douard@logilab.fr>
date
Mon, 04 Jun 2018 22:27:41 +0200
changeset 108
dadf7c8d43ad
parent 40
1bbea188a7e5
permissions
-rwxr-xr-x

[plotter] use OSError instead of more specific SerialException

#!/usr/bin/python
import sys, os
try:
    from pygpibtoolkit.plotter.qgpib_plotter import main
except ImportError:
    sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
    from pygpibtoolkit.plotter.qgpib_plotter import main
main()

mercurial