diff --git a/tractor/_supervise.py b/tractor/_supervise.py index 8dce5030..507e2544 100644 --- a/tractor/_supervise.py +++ b/tractor/_supervise.py @@ -534,10 +534,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