Disable scan on reset
This commit is contained in:
parent
f356723d5a
commit
c0a0bc478b
1 changed files with 3 additions and 3 deletions
|
@ -355,10 +355,10 @@ class CentralManagement():
|
||||||
self.eventQueue.put(Signal('scan.finished'))
|
self.eventQueue.put(Signal('scan.finished'))
|
||||||
|
|
||||||
def reset(self) -> str:
|
def reset(self) -> str:
|
||||||
# TODO: for returns & abandons
|
|
||||||
self.plotter.park()
|
self.plotter.park()
|
||||||
scan = threading.Thread(target=self.cleanDrawing, name='reset')
|
# Very confusing to have scanning on a reset (because often nothing has happened), so don't do itd
|
||||||
scan.start()
|
# scan = threading.Thread(target=self.cleanDrawing, name='reset')
|
||||||
|
# scan.start()
|
||||||
self.server.statusPage.clearAssignment()
|
self.server.statusPage.clearAssignment()
|
||||||
|
|
||||||
def scanImage(self) -> str:
|
def scanImage(self) -> str:
|
||||||
|
|
Loading…
Reference in a new issue