mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
CURA-1445: Using .join instead
Says in one line what I wanted to do.
This commit is contained in:
parent
cf55178a11
commit
8571087f3e
1 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue