Make sure the ID is a str

patch-async-enter-all
overclockworked64 2021-10-16 17:50:36 +02:00
parent 0f613050e1
commit 010a994f1d
No known key found for this signature in database
GPG Key ID: 0E4A3AD9DB596812
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ async def open_actor_cluster(
]: ]:
portals: dict[str, tractor.Portal] = {} portals: dict[str, tractor.Portal] = {}
uid = __import__('random').randint(0, 2 ** 16) uid = str(__import__('random').randint(0, 2 ** 16))
# uid = tractor.current_actor().uid # uid = tractor.current_actor().uid
if not names: if not names: