Commit fdee2c3a authored by Guillaume Seguin's avatar Guillaume Seguin

Finalize move of statuschecker thread

parent 6cce62b2
...@@ -19,6 +19,7 @@ import cmd ...@@ -19,6 +19,7 @@ import cmd
import glob import glob
import os import os
import time import time
import threading
import sys import sys
import shutil import shutil
import subprocess import subprocess
...@@ -110,6 +111,7 @@ class pronsole(cmd.Cmd): ...@@ -110,6 +111,7 @@ class pronsole(cmd.Cmd):
self.compute_eta = None self.compute_eta = None
self.statuscheck = False self.statuscheck = False
self.status_thread = None self.status_thread = None
self.monitor_interval = 3
self.p = printcore.printcore() self.p = printcore.printcore()
self.p.recvcb = self.recvcb self.p.recvcb = self.recvcb
self.p.startcb = self.startcb self.p.startcb = self.startcb
......
...@@ -145,7 +145,6 @@ class PronterWindow(MainWindow, pronsole.pronsole): ...@@ -145,7 +145,6 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.fgcode = None self.fgcode = None
self.excluder = None self.excluder = None
self.slicep = None self.slicep = None
self.monitor_interval = 3
self.current_pos = [0, 0, 0] self.current_pos = [0, 0, 0]
self.paused = False self.paused = False
self.uploading = False self.uploading = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment