Skip to content

Commit

Permalink
Correct attribute assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
nocarryr committed Dec 22, 2023
1 parent d6f9f0f commit 42828d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tslumd/sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ class UmdSender(Dispatcher):
.. versionadded:: 0.0.4
"""

update_queue: asyncio.PriorityQueue[TallyKey|tuple[int, bool]]|None

def __init__(self,
clients: Iterable[Client]|None = None,
all_off_on_close: bool = False):
Expand All @@ -111,7 +113,7 @@ def __init__(self,
assert screen.is_broadcast
self.screens[screen.index] = screen
self._bind_screen(screen)
self.update_queue: asyncio.PriorityQueue[TallyKey|Tuple[int, bool]]|None = None
self.update_queue = asyncio.PriorityQueue()
self.update_task = None
self.tx_task = None
self.connected_evt = asyncio.Event()
Expand Down

0 comments on commit 42828d7

Please sign in to comment.