mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 04:35:53 +08:00
CURA-4891 Add a '+' that I removed by accident
This commit is contained in:
parent
605c63514d
commit
a4df9b6cc6
@ -364,7 +364,7 @@ class PrintInformation(QObject):
|
||||
active_machine_type_name = global_container_stack.definition.getName()
|
||||
|
||||
abbr_machine = ""
|
||||
for word in re.findall(r"[\w']", active_machine_type_name):
|
||||
for word in re.findall(r"[\w']+", active_machine_type_name):
|
||||
if word.lower() == "ultimaker":
|
||||
abbr_machine += "UM"
|
||||
elif word.isdigit():
|
||||
|
Loading…
x
Reference in New Issue
Block a user