[bugfix] transform to float for different python library versions

This commit is contained in:
Marcel Paffrath 2019-12-17 16:54:07 +01:00
parent 29440deb6f
commit fa4423f65d

View File

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