Fix: Backend crash if one connection parameter is missing
This commit is contained in:
parent
721fe746b3
commit
d3f6cdb3c9
|
@ -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")
|
||||
)
|
||||
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue