From 0fbdef4a17f864bcb6a2505a241ef2a475a9090c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Boisselier?= Date: Mon, 3 Jun 2024 19:23:12 +0200 Subject: [PATCH] fixed typo in ShakeTuneProcess --- shaketune/shaketune_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaketune/shaketune_process.py b/shaketune/shaketune_process.py index faa4fa0..84ed167 100644 --- a/shaketune/shaketune_process.py +++ b/shaketune/shaketune_process.py @@ -21,7 +21,7 @@ class ShakeTuneProcess: def get_graph_creator(self): return self.graph_creator - def start(self) -> None: + def run(self) -> None: # Start the target function in a new process (a thread is known to cause issues with Klipper and CANbus due to the GIL) self._process = multiprocessing.Process( target=self._shaketune_process_wrapper, args=(self.graph_creator, self._timeout)