corrected wrong logic of the routine
This commit is contained in:
1 parent
6a59bee73d
commit
47f0fcb030
1 file changed
+4
-4
@@ -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)
|
||||
# handle forbidden filenames especially on windows systems
|
||||
fnout = fnConstructor(ID)
|
||||
else:
|
||||
fnout = fnConstructor(fnout)
|
||||
|
||||
evtformat = evtformat.upper().strip()
|
||||
|
||||
|
||||
Reference in new issue
Block a user