corrected wrong logic of the routine
This commit is contained in:
parent
6a59bee73d
commit
47f0fcb030
@ -85,11 +85,11 @@ class Data(object):
|
|||||||
raise FormatError(errmsg)
|
raise FormatError(errmsg)
|
||||||
|
|
||||||
if fnout is None:
|
if fnout is None:
|
||||||
ID = self.evtdata.getEventID()
|
|
||||||
else:
|
|
||||||
ID = self.getID()
|
ID = self.getID()
|
||||||
# handle forbidden filenames especially on windows systems
|
# handle forbidden filenames especially on windows systems
|
||||||
fnout = fnConstructor(ID)
|
fnout = fnConstructor(ID)
|
||||||
|
else:
|
||||||
|
fnout = fnConstructor(fnout)
|
||||||
|
|
||||||
evtformat = evtformat.upper().strip()
|
evtformat = evtformat.upper().strip()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user