diff --git a/run_selector.py b/run_selector.py index b552a19..0546ee7 100644 --- a/run_selector.py +++ b/run_selector.py @@ -433,7 +433,7 @@ class RunSelector: else: nums = [] if time_max is not None: - imax = search(nums, time_min, "left") + imax = search(nums, time_max, "left") if imax is not None: nums = nums[: imax + 1]