diff --git a/tractor/_supervise.py b/tractor/_supervise.py index ad007ae..50f0d5e 100644 --- a/tractor/_supervise.py +++ b/tractor/_supervise.py @@ -533,10 +533,8 @@ async def open_nursery( ''' implicit_runtime: bool = False - actor: Actor = current_actor( - err_on_no_runtime=False - ) - + actor: Actor = current_actor(err_on_no_runtime=False) + an: ActorNursery|None = None try: if ( actor is None