From cee4553f42e6f2d9a6546396428c92de05e567d4 Mon Sep 17 00:00:00 2001 From: gnthibault Date: Wed, 23 Aug 2023 00:46:32 +0200 Subject: [PATCH] debug --- conf_files/config_backyard.yaml | 4 ++-- helper/IndiWebManagerClient.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf_files/config_backyard.yaml b/conf_files/config_backyard.yaml index 8d10df1..e331b8c 100644 --- a/conf_files/config_backyard.yaml +++ b/conf_files/config_backyard.yaml @@ -55,9 +55,9 @@ observatory: USB_LABEL_1: FIELD_CAMERA USB_LABEL_2: PRIMARY_CAMERA USB_LABEL_3: SPECTRO_CONTROL_BOX - USB_LABEL_4: ARDUINO_CONTROL_BOX + USB_LABEL_4: GUIDE_CAMERA USB_LABEL_5: WIFI_ROUTER - USB_LABEL_6: GUIDE_CAMERA + USB_LABEL_6: ARDUINO_CONTROL_BOX always_on_usb_identifiers: FIELD_CAMERA: False PRIMARY_CAMERA: False diff --git a/helper/IndiWebManagerClient.py b/helper/IndiWebManagerClient.py index 3bc31ca..10cc020 100644 --- a/helper/IndiWebManagerClient.py +++ b/helper/IndiWebManagerClient.py @@ -151,7 +151,7 @@ def get_running_driver(self, master=False): base_url = f"http://{host}:{port}" req = f"{base_url}/api/server/drivers" response = requests.get(req) - # self.logger.debug(f"get_running_driver - url {req} - code {response.status_code} - response :{response.text}") + self.logger.debug(f"get_running_driver - url {req} - code {response.status_code} - response :{response.text}") assert response.status_code == 200 running_driver_list = json.loads(response.text) except json.JSONDecodeError as e: