corrected wrong logic of the routine

This commit is contained in:
Sebastian Wehling-Benatelli 2015-02-13 11:29:32 +01:00
parent 6a59bee73d
commit 47f0fcb030

View File

@ -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()