From d3f6cdb3c98ed812743aa75e8fe2de2621158d9e Mon Sep 17 00:00:00 2001 From: Core447 Date: Mon, 12 Feb 2024 13:00:05 +0100 Subject: [PATCH] Fix: Backend crash if one connection parameter is missing --- backend/backend.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/backend.py b/backend/backend.py index d6f3e6d..c4f489e 100644 --- a/backend/backend.py +++ b/backend/backend.py @@ -12,9 +12,9 @@ class Backend(BackendBase): super().__init__() self.OBSController = OBSController() self.OBSController.connect_to( - host=self.frontend.get_settings()["ip"], - port=self.frontend.get_settings()["port"], - password=self.frontend.get_settings()["password"] + host=self.frontend.get_settings().get("ip"), + port=self.frontend.get_settings().get("port"), + password=self.frontend.get_settings().get("password") ) """