Skip to content

Commit

Permalink
Remove debugging statements
Browse files Browse the repository at this point in the history
Contributes to issue CURA-6696.
  • Loading branch information
Ghostkeeper committed Jul 31, 2019
1 parent 65b28f2 commit e5ebbdd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ def getCfgVersion(self, serialised: str) -> int:
#
# This renames the renamed settings in the containers.
def upgradeInstanceContainer(self, serialized: str, filename: str) -> Tuple[List[str], List[str]]:
print("============================ upgrading instance container!")
parser = configparser.ConfigParser(interpolation = None)
parser.read_string(serialized)

Expand All @@ -266,7 +265,6 @@ def upgradeInstanceContainer(self, serialized: str, filename: str) -> Tuple[List
# For quality-changes profiles made for Creality printers, change the definition to the creality_base and make sure that the quality is something we have a profile for.
if parser["metadata"].get("type", "") == "quality_changes":
for possible_printer in _quality_changes_to_creality_base:
print("======================= basename:", os.path.basename(filename), "vs. possible printer", possible_printer)
if os.path.basename(filename).startswith(possible_printer + "_"):
parser["general"]["definition"] = "creality_base"
parser["metadata"]["quality_type"] = _creality_limited_quality_type.get(parser["metadata"]["quality_type"], "draft")
Expand Down

0 comments on commit e5ebbdd

Please sign in to comment.