Remove unused variables

Contributes to issue CURA-4810.
This commit is contained in:
Ghostkeeper 2018-01-16 10:38:11 +01:00
parent 063eb8e5cd
commit 1e892dc45c
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -269,7 +269,6 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
# if the global stack is found, we check if there are conflicts in the extruder stacks # if the global stack is found, we check if there are conflicts in the extruder stacks
if containers_found_dict["machine"] and not machine_conflict: if containers_found_dict["machine"] and not machine_conflict:
for extruder_stack_file in extruder_stack_files: for extruder_stack_file in extruder_stack_files:
container_id = self._stripFileToId(extruder_stack_file)
serialized = archive.open(extruder_stack_file).read().decode("utf-8") serialized = archive.open(extruder_stack_file).read().decode("utf-8")
parser = configparser.ConfigParser() parser = configparser.ConfigParser()
parser.read_string(serialized) parser.read_string(serialized)
@ -301,7 +300,6 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
break break
num_visible_settings = 0 num_visible_settings = 0
has_visible_settings_string = False
try: try:
temp_preferences = Preferences() temp_preferences = Preferences()
serialized = archive.open("Cura/preferences.cfg").read().decode("utf-8") serialized = archive.open("Cura/preferences.cfg").read().decode("utf-8")