Change spawn method name in `Actor.load_modules()`

drop_cloudpickle
Tyler Goodlet 2020-07-20 19:50:19 -04:00
parent 0936bdc592
commit 0b305fd78a
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class Actor:
code (if it exists).
"""
try:
if self._spawn_method == 'trio_run_in_process':
if self._spawn_method == 'trio':
parent_data = self._parent_main_data
if 'init_main_from_name' in parent_data:
_mp_fixup_main._fixup_main_from_name(