Skip to content

Commit

Permalink
remove the debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalsoha committed Jan 16, 2017
1 parent 4ddc589 commit 9bcf376
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions octoprint_slic3r/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def from_slic3r_ini(cls, path):
description = None
with open(path) as f:
for line in f:
print line
if "#" in line:
if line.startswith("# Name: "):
display_name = line[len("# Name: "):]
Expand All @@ -62,9 +61,7 @@ def from_slic3r_ini(cls, path):
if len(split_line) != 2:
continue
key, v = map(str.strip, split_line)
print "checking " + v
if "#" in v and str.strip(v[0:v.find("#")]):
print "aha!"
v = str.strip(v[0:v.find("#")])

result[key] = v
Expand Down

0 comments on commit 9bcf376

Please sign in to comment.