diff --git a/piker/ui/_event.py b/piker/ui/_event.py index 282711ab..18dbd64f 100644 --- a/piker/ui/_event.py +++ b/piker/ui/_event.py @@ -117,7 +117,7 @@ async def open_event_stream( source_widget.installEventFilter(kc) try: - async with (send, recv): + async with send: yield recv finally: source_widget.removeEventFilter(kc)