[Bugfix] Reversed change of a former commit supposed to make it compatible to Python3.

This commit is contained in:
Ludger Küperkoch 2017-07-14 11:05:09 +02:00
parent e46f9066d9
commit 01fe32c9b2

View File

@ -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: