Skip to content

Commit

Permalink
Hotfix for accidentally merged code
Browse files Browse the repository at this point in the history
  • Loading branch information
simonxeko committed Oct 5, 2016
1 parent 12eddc1 commit 04a1159
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion fluxclient/fcode/fcode_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,6 @@ def trim_ends(cls, path):
path[layer].pop(layer)
else:
break
else:
elif len(path) > 0:
path.pop(layer)
return path
2 changes: 0 additions & 2 deletions fluxclient/fcode/g_to_f.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ def analyze_metadata(self, input_list, comment):
self.previous[i - 4] = (input_list[i] - self.current_pos[i - 1]) / tmp_path

self.filament[i - 4] += input_list[i] - self.current_pos[i - 1]
self.last_pos[i - 1] += input_list[i];
self.current_pos[i - 1] = input_list[i]
else:
if self.has_config and self._config['flux_refill_empty'] == '1' and tmp_path != 0:
Expand All @@ -254,7 +253,6 @@ def analyze_metadata(self, input_list, comment):
self.previous[i - 4] = input_list[i] / tmp_path

self.filament[i - 4] += input_list[i]
self.last_pos[i - 1] += input_list[i];
self.current_pos[i - 1] += input_list[i]
# TODO:clean up this part?, self.extrude_absolute flag

Expand Down

0 comments on commit 04a1159

Please sign in to comment.