Skip to content

Commit

Permalink
!8680 Bug Fix For Step Trace Time
Browse files Browse the repository at this point in the history
Merge pull request !8680 from 周先琪/master
  • Loading branch information
周先琪 authored and it-is-a-robot committed Dec 27, 2023
1 parent 2f3e003 commit c047c84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def count_time(cls, addtype, addtime, durtime, step_list, save_time):
addtime = float(addtime)
durtime = float(durtime)
for step in step_list:
if step[1] < addtime and step[2] > addtime:
if step[1] <= addtime <= step[2]:
cur_step = step[0]
break
for step in step_list:
Expand Down

0 comments on commit c047c84

Please sign in to comment.