From b32291469a66f15bb9d690802718c07836856923 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Wed, 4 Mar 2020 21:53:15 +0100 Subject: [PATCH] fix: typo Fix a typo introduced in commit 7038758960c5bf79e609329cdf709b65f1924517. --- gluon/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/scheduler.py b/gluon/scheduler.py index 75e75c74..fa4b95cd 100644 --- a/gluon/scheduler.py +++ b/gluon/scheduler.py @@ -656,7 +656,7 @@ class Scheduler(threading.Thread): ctx = multiprocessing.get_context('spawn') outq = ctx.Queue() retq = ctx.Queue(maxsize=1) - sel.process = p = ctx.Process(target=executor, args=(retq, task, outq)) + self.process = p = ctx.Process(target=executor, args=(retq, task, outq)) else: outq = multiprocessing.Queue() retq = multiprocessing.Queue(maxsize=1)