From 5e8d1c0aab242fcf022da74df717ce135e141b49 Mon Sep 17 00:00:00 2001 From: Kathryn Baker Date: Wed, 23 Oct 2024 15:20:57 +0100 Subject: [PATCH] Remove call to code that will not work This is being done as a one line change, the code called has been left in place to ensure this is a flahs review and that this code matches that on the server running this code. --- external_webpage/request_handler_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/external_webpage/request_handler_utils.py b/external_webpage/request_handler_utils.py index 6836700..d0f1778 100644 --- a/external_webpage/request_handler_utils.py +++ b/external_webpage/request_handler_utils.py @@ -145,6 +145,5 @@ def get_detailed_state_of_specific_instrument(instrument, data, time_shift_thres raise ValueError(str(instrument) + " not known") if data[instrument] == "": raise ValueError("Instrument has become unavailable") - set_time_shift(instrument, data[instrument], time_shift_threshold) - + return data[instrument]