[Bugfix] Reversed change of a former commit supposed to make it compatible to Python3.
This commit is contained in:
parent
e46f9066d9
commit
01fe32c9b2
@ -39,7 +39,7 @@ class Data(object):
|
||||
elif isinstance(evtdata, dict):
|
||||
evt = readPILOTEvent(**evtdata)
|
||||
evtdata = evt
|
||||
elif isinstance(evtdata, str):
|
||||
elif isinstance(evtdata, basestring):
|
||||
try:
|
||||
cat = read_events(evtdata)
|
||||
if len(cat) is not 1:
|
||||
|
Loading…
Reference in New Issue
Block a user