Commit 828eef1a authored by D1plo1d's avatar D1plo1d

Fixing prontserve event error

parent 08db5071
...@@ -600,7 +600,7 @@ class Prontserve(pronsole.pronsole, EventEmitter): ...@@ -600,7 +600,7 @@ class Prontserve(pronsole.pronsole, EventEmitter):
return 100*float(self.p.queueindex)/len(self.p.mainqueue) return 100*float(self.p.queueindex)/len(self.p.mainqueue)
if(self.sdprinting): if(self.sdprinting):
return self.percentdone return self.percentdone
return 0 return "0"
def run_sensor_loop(self): def run_sensor_loop(self):
# A number of conditions that must be met for us to send a temperature # A number of conditions that must be met for us to send a temperature
......
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