Commit 44b0fb19 authored by Guillaume Seguin's avatar Guillaume Seguin

Woops, consistency fix (reported in a comment of #375)

parent 61b8ed4c
...@@ -84,7 +84,7 @@ class RemainingTimeEstimator(object): ...@@ -84,7 +84,7 @@ class RemainingTimeEstimator(object):
def __call__(self, idx, printtime): def __call__(self, idx, printtime):
if not self.current_layer_lines: if not self.current_layer_lines:
return 0 return (0, 0)
if idx == self.last_idx: if idx == self.last_idx:
return self.last_estimate return self.last_estimate
layer, line = self.gcode.idxs(idx) layer, line = self.gcode.idxs(idx)
......
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