mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Output arrays of files rather than a single file
This is needed because the version upgrade system now allows for a version upgrader to output any number of files. Contributes to issue CURA-844.
This commit is contained in:
parent
967591bccb
commit
af86375ba3
3 changed files with 3 additions and 3 deletions
|
@ -97,4 +97,4 @@ class MachineInstance:
|
|||
|
||||
output = io.StringIO()
|
||||
config.write(output)
|
||||
return self._filename, output.getvalue()
|
||||
return [self._filename], [output.getvalue()]
|
|
@ -77,4 +77,4 @@ class Preferences:
|
|||
#Output the result as a string.
|
||||
output = io.StringIO()
|
||||
self._config.write(output)
|
||||
return self._filename, output.getvalue()
|
||||
return [self._filename], [output.getvalue()]
|
|
@ -130,4 +130,4 @@ class Profile:
|
|||
|
||||
output = io.StringIO()
|
||||
config.write(output)
|
||||
return self._filename, output.getvalue()
|
||||
return [self._filename], [output.getvalue()]
|
Loading…
Add table
Add a link
Reference in a new issue