Skip to content

Commit

Permalink
Update bluetooth_devices.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Jan 1, 2025
1 parent 0038c20 commit 0ed573e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bluetooth_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import asyncio
import socket
import os
from concurrent.futures import Future
from contextlib import suppress
from subprocess import DEVNULL, PIPE
from typing import Awaitable, Callable, Optional, TYPE_CHECKING
Expand Down Expand Up @@ -38,7 +39,7 @@ def __init__(self, bus: SystemMessageBus, loop: asyncio.AbstractEventLoop,
self.interrupt_socket_path: Optional[str] = interrupt_socket_path
self.interrupt_socket: Optional[socket.socket] = None
self.sockets_connected = False
self._tasks: set[asyncio.Future[None]] = set()
self._tasks: set[Future[None]] = set()

print("BT Device ",object_path," created")
asyncio.run_coroutine_threadsafe(self.reconcile_connected_state(1), loop=self.loop)
Expand Down

0 comments on commit 0ed573e

Please sign in to comment.