From c0a0bc478bf69ddfa641430c1a927307a408dd3b Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Mon, 4 Nov 2019 08:57:42 +0100 Subject: [PATCH] Disable scan on reset --- sorteerhoed/central_management.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sorteerhoed/central_management.py b/sorteerhoed/central_management.py index ff61b5f..ec06296 100644 --- a/sorteerhoed/central_management.py +++ b/sorteerhoed/central_management.py @@ -355,10 +355,10 @@ class CentralManagement(): self.eventQueue.put(Signal('scan.finished')) def reset(self) -> str: - # TODO: for returns & abandons self.plotter.park() - scan = threading.Thread(target=self.cleanDrawing, name='reset') - scan.start() +# Very confusing to have scanning on a reset (because often nothing has happened), so don't do itd +# scan = threading.Thread(target=self.cleanDrawing, name='reset') +# scan.start() self.server.statusPage.clearAssignment() def scanImage(self) -> str: