[bugfix] the type of obspy.core.event.Event objects resource_id attribute is of type obspy.core.event.ResourceID but must be of type str; simple conversion fixed this
This commit is contained in:
parent
ec9840839e
commit
0236a19db1
@ -78,9 +78,9 @@ class Data(object):
|
||||
if fnout is None:
|
||||
ID = self.getID()
|
||||
# handle forbidden filenames especially on windows systems
|
||||
fnout = fnConstructor(ID)
|
||||
fnout = fnConstructor(str(ID))
|
||||
else:
|
||||
fnout = fnConstructor(fnout)
|
||||
fnout = fnConstructor(str(fnout))
|
||||
|
||||
evtformat = evtformat.upper().strip()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user