[add] verbosity on import pyqtgraph exception

This commit is contained in:
Marcel Paffrath 2017-06-20 13:22:29 +02:00
parent 0ff6f78a6c
commit 0be5c4b694

View File

@ -44,8 +44,8 @@ from obspy import UTCDateTime
try:
import pyqtgraph as pg
except:
print('QtPyLoT: Could not import pyqtgraph.')
except Exception as e:
print('QtPyLoT: Could not import pyqtgraph. {}'.format(e))
pg = None
try: