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

drop-trip-update-trio^2
Tyler Goodlet 2020-07-20 19:50:19 -04:00
parent 660f310737
commit 1459abe568
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,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(