mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 04:09:01 +08:00
CURA-1445: Using .join instead
Says in one line what I wanted to do.
This commit is contained in:
parent
cf55178a11
commit
8571087f3e
@ -91,12 +91,7 @@ class SliceInfo(Extension):
|
||||
modelhashes.append(node.getMeshData().getHash())
|
||||
|
||||
# Creating md5sums and formatting them as discussed on JIRA
|
||||
modelhash_formatted = ""
|
||||
if modelhashes:
|
||||
modelhash_formatted = str(modelhashes[0])
|
||||
if len(modelhashes) > 1:
|
||||
for modelhash in modelhashes[1:]:
|
||||
modelhash_formatted += ",%s" %(modelhash)
|
||||
modelhash_formatted = ",".join(modelhashes)
|
||||
|
||||
global_container_stack = Application.getInstance().getGlobalContainerStack()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user