mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-16 18:59:39 +08:00
Keep this position a string
We've set up enough defensive coding that this kept working, but the typing checker fails on it.
This commit is contained in:
parent
2125b7130f
commit
d499c6fdfe
@ -1214,7 +1214,7 @@ class MachineManager(QObject):
|
||||
if self._global_container_stack is None:
|
||||
return
|
||||
if position is None:
|
||||
position_list = list(range(len(self._global_container_stack.extruderList)))
|
||||
position_list = [str(position) for position in range(len(self._global_container_stack.extruderList))]
|
||||
else:
|
||||
position_list = [position]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user