diff --git a/piker/_cacheables.py b/piker/_cacheables.py index 979a7ce6..d4e6ccfa 100644 --- a/piker/_cacheables.py +++ b/piker/_cacheables.py @@ -160,7 +160,7 @@ async def maybe_open_ctx( log.info(f'Reusing cached feed for {key}') try: cache.users += 1 - yield True, value + yield value finally: cache.users -= 1 if cache.users == 0: