Restructure the interrupt so one function owns the ask and loop-inbox imports nothing from cycle/
This commit is contained in:
@@ -200,7 +200,7 @@ def run_loop(argv: list[str], env: typing.Mapping[str, str], paths: Paths, launc
|
||||
if isinstance(closed, Stop):
|
||||
return closed
|
||||
loop_run = closed
|
||||
if stop := check_routing(archive_root(paths.home, env), loop_run.root, project or Rung(models.worker), paths, effects):
|
||||
if stop := check_routing(archive_root(paths.home, env), loop_run.root, str(session.id), project or Rung(models.worker), paths, effects):
|
||||
return stop
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user