fixes attribute error

This commit is contained in:
Onyx and Iris 2025-01-17 20:53:47 +00:00
parent 5b4f3753db
commit af3d4fcada
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2023-present onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> # SPDX-FileCopyrightText: 2023-present onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com>
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
__version__ = '1.0.3' __version__ = '1.0.4'

View File

@ -53,7 +53,7 @@ class OBSWS(ILayer):
self.logger.error(f'{type(e).__name__}: {e}') self.logger.error(f'{type(e).__name__}: {e}')
raise raise
def obs_disconnect(self): def disconnect(self):
for client in (self.request, self.event): for client in (self.request, self.event):
if client: if client:
client.disconnect() client.disconnect()

View File

@ -32,7 +32,7 @@ dependencies = [
"xair-api>=2.4.1", "xair-api>=2.4.1",
"slobs_websocket@git+https://git@github.com/onyx-and-iris/slobs_websocket@v0.1.4#egg=slobs_websocket", "slobs_websocket@git+https://git@github.com/onyx-and-iris/slobs_websocket@v0.1.4#egg=slobs_websocket",
"obsws-python>=1.7.0", "obsws-python>=1.7.0",
"vban-cmd>=2.5.0", "vban-cmd>=2.5.1",
] ]
[project.urls] [project.urls]