mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Appease mypy complaints for AttributeErrors
CURA-7646
This commit is contained in:
parent
f8a15ea29e
commit
0feeccff85
1 changed files with 2 additions and 1 deletions
|
@ -934,7 +934,8 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
||||||
:return: The count of the machine's extruders
|
:return: The count of the machine's extruders
|
||||||
"""
|
"""
|
||||||
machine_extruder_count = None
|
machine_extruder_count = None
|
||||||
if self._machine_info.definition_changes_info \
|
if self._machine_info \
|
||||||
|
and self._machine_info.definition_changes_info \
|
||||||
and "values" in self._machine_info.definition_changes_info.parser \
|
and "values" in self._machine_info.definition_changes_info.parser \
|
||||||
and "machine_extruder_count" in self._machine_info.definition_changes_info.parser["values"]:
|
and "machine_extruder_count" in self._machine_info.definition_changes_info.parser["values"]:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue