From b94931bbddf5241abb4fafffc9e898081c8a1e9e Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 4 Dec 2023 13:00:04 -0500 Subject: [PATCH] Fix `Portal.channel: Channel` attr name error --- piker/service/_actor_runtime.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/piker/service/_actor_runtime.py b/piker/service/_actor_runtime.py index f3899101..e69882da 100644 --- a/piker/service/_actor_runtime.py +++ b/piker/service/_actor_runtime.py @@ -84,10 +84,10 @@ async def open_piker_runtime( a root actor. ''' + # check for existing runtime, boot it + # if not already running. try: - # check for existing runtime actor = tractor.current_actor() - except tractor._exceptions.NoRuntime: tractor._state._runtime_vars[ 'piker_vars' @@ -298,7 +298,7 @@ async def maybe_open_pikerd( # sanity check that we are actually connecting to # a remote process and not ourselves. - assert actor.uid != pikerd_portal.chan.uid + assert actor.uid != pikerd_portal.channel.uid assert registry_addrs yield pikerd_portal