Commit e5ed777b authored by Guillaume Seguin's avatar Guillaume Seguin

Merge pull request #707 from jbheren/master

avoid exceptions.AttributeError on percentdone for 'ProntRPC' when pr…
parents ae055f40 c35e14c4
......@@ -59,7 +59,7 @@ class ProntRPC(object):
if self.pronsole.p.printing:
progress = 100 * float(self.pronsole.p.queueindex) / len(self.pronsole.p.mainqueue)
elif self.pronsole.sdprinting:
progress = self.percentdone
progress = self.pronsole.percentdone
else: progress = None
if self.pronsole.p.printing or self.pronsole.sdprinting:
eta = self.pronsole.get_eta()
......
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