From 01fe32c9b2d816faae6fc0f68a4ddea4641231cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Fri, 14 Jul 2017 11:05:09 +0200 Subject: [PATCH] [Bugfix] Reversed change of a former commit supposed to make it compatible to Python3. --- pylot/core/io/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/io/data.py b/pylot/core/io/data.py index 343eb778..21488ce5 100644 --- a/pylot/core/io/data.py +++ b/pylot/core/io/data.py @@ -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: