[minor] improved text output if wf data cannot be read

This commit is contained in:
Marcel Paffrath 2018-07-04 17:25:11 +02:00
parent e05909b188
commit b0ad99eced

View File

@ -445,7 +445,7 @@ class Data(object):
except SacIOError as se: except SacIOError as se:
warnmsg += '{0}\n{1}\n'.format(fname, se) warnmsg += '{0}\n{1}\n'.format(fname, se)
if warnmsg: if warnmsg:
warnmsg = 'WARNING: unable to read\n' + warnmsg warnmsg = 'WARNING in appendWFData: unable to read waveform data\n' + warnmsg
print(warnmsg) print(warnmsg)
def getWFData(self): def getWFData(self):