Commit c550055e authored by Colm Talbot's avatar Colm Talbot
Browse files

typo fix

parent 3d155231
Pipeline #103915 passed with stage
in 5 minutes and 56 seconds
......@@ -182,10 +182,10 @@ def calibration_lookup(trigger_time, detector):
"Requested trigger time prior to earliest calibration file"
for i, time in enumerate(times):
for time in times:
if trigger_time > time:
directory = os.path.dirname(calenv)
calib_file = "{}/{}".format(directory, files[i])
calib_file = "{}/{}".format(directory, files[time])
return os.path.abspath(calib_file)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment