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)
|
||||
|
||||
if fnout is None:
|
||||
ID = self.evtdata.getEventID()
|
||||
else:
|
||||
ID = self.getID()
|
||||
# handle forbidden filenames especially on windows systems
|
||||
fnout = fnConstructor(ID)
|
||||
else:
|
||||
fnout = fnConstructor(fnout)
|
||||
|
||||
evtformat = evtformat.upper().strip()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user