[bugfix] transform to float for different python library versions
This commit is contained in:
parent
29440deb6f
commit
fa4423f65d
4
PyLoT.py
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user