From fa4423f65de08c28be4d3d7eaf4965dcd4b2d22f Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 17 Dec 2019 16:54:07 +0100 Subject: [PATCH] [bugfix] transform to float for different python library versions --- PyLoT.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyLoT.py b/PyLoT.py index 356943cf..a271b378 100755 --- a/PyLoT.py +++ b/PyLoT.py @@ -1855,8 +1855,8 @@ class MainWindow(QMainWindow): origin_time = curr_event.origins[0].time tstart = settings.value('tstart') if get_None(settings.value('tstart')) else 0 tstop = settings.value('tstop') if get_None(settings.value('tstop')) else 0 - tstart = origin_time + tstart - tstop = origin_time + tstop + tstart = origin_time + float(tstart) + tstop = origin_time + float(tstop) else: tstart = None tstop = None