Fix: Backend crash if one connection parameter is missing

This commit is contained in:
Core447 2024-02-12 13:00:05 +01:00
parent 721fe746b3
commit d3f6cdb3c9
No known key found for this signature in database
GPG Key ID: 5B97C0BD62F98516
1 changed files with 3 additions and 3 deletions

View File

@ -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")
)
"""