mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:29:00 +08: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
@ -97,4 +97,4 @@ class MachineInstance:
|
|||||||
|
|
||||||
output = io.StringIO()
|
output = io.StringIO()
|
||||||
config.write(output)
|
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 the result as a string.
|
||||||
output = io.StringIO()
|
output = io.StringIO()
|
||||||
self._config.write(output)
|
self._config.write(output)
|
||||||
return self._filename, output.getvalue()
|
return [self._filename], [output.getvalue()]
|
@ -130,4 +130,4 @@ class Profile:
|
|||||||
|
|
||||||
output = io.StringIO()
|
output = io.StringIO()
|
||||||
config.write(output)
|
config.write(output)
|
||||||
return self._filename, output.getvalue()
|
return [self._filename], [output.getvalue()]
|
Loading…
x
Reference in New Issue
Block a user